-
Notifications
You must be signed in to change notification settings - Fork 12
Installation
Mingjun Zhao edited this page Jun 11, 2026
·
1 revision
-
Node.js
>= 24 -
npm
>= 10 - 真实终端 TTY(Ink TUI 需要;Windows 推荐 Windows Terminal / PowerShell)
- 可选:Ollama(本地模型)
-
打开 Releases,下载最新
.tgz(当前 v2.0.0-b2 →opensec-secbot-2.0.0-b2.tgz) -
全局安装:
npm install -g ./opensec-secbot-2.0.0-b2.tgz
secbot- 或一次性运行:
npx ./opensec-secbot-2.0.0-b2.tgz- 仅 API 后端:
secbot-server- MCP 模式:
secbot-mcp敏感工具默认对 MCP 隐藏;需显式设置 SECBOT_MCP_ALLOW_SENSITIVE=true。
git clone https://github.com/iammm0/secbot.git
cd secbot
git checkout release
npm ci
npm run start:stack- ❌
npm install -g @opensec/secbot— 未发布到 npmjs - ❌ 仓库内已无官方 Docker / 移动端一键部署链路
在工作目录创建 .env,参见 Environment-Variables 与 Quick-Start。
TUI 内 /model 可配置 provider、API Key、模型;配置持久化到 SQLite / config.yaml。
secbot-server &
curl http://127.0.0.1:8000/health默认端口 8000,可用 PORT 覆盖。