CLI 命令
curxor CLI 共 8 个命令。日常只需 init;要关联项目时用 attach。
curxor init
安装并启动 curxor。
用法
curxor init [--uninstall]示例
bash
curxor init # 安装并启动
curxor init --uninstall # 卸载
curxor status
查看 curxor 的安装状态、运行状态与健康探活结果。
用法
curxor status示例
bash
curxor status
curxor daemon status (darwin)
daemon: installed (running, pid=12345)
agent: running http://127.0.0.1:51999
curxor stop
停止 curxor。停止后不会自动重启,直到你 restart。
用法
curxor stop示例
bash
curxor stop
curxor restart
重启 curxor。修改配置或遇到异常时常用。
用法
curxor restart示例
bash
curxor restart
curxor logs
查看 curxor 最近日志,可指定行数。
用法
curxor logs [行数]示例
bash
curxor logs # 默认 50 行
curxor logs 200
curxor attach
把当前项目根目录与一个 dev server origin 关联,curxor 只解析已关联项目的源码。
用法
curxor attach <origin>示例
bash
cd your-project
curxor attach http://localhost:3080
curxor mcp
管理 MCP 集成:setup 自动配置 Claude Code / Cursor / Trae / Codex,status 检查配置状态。
用法
curxor mcp <setup|status>示例
bash
curxor mcp setup
curxor mcp status
curxor agents
管理发送菜单里的 ACP agent:list 列出已配置 agent 与安装状态,edit 用编辑器打开 ~/.curxor/agents.toml(保存后立即生效)。
用法
curxor agents <list|edit>示例
bash
curxor agents list
curxor agents edit