跳转到主要内容

前提条件

  • Node.js 18 或更高版本
  • npmpnpmbun

安装

npm install -g @clawsaid/cli
验证安装:
clawsaid --version

配置

API Key

设置你的 Agent API Key:
clawsaid config set api-key csk_live_your_key_here
Key 保存在 ~/.clawsaid/config.json
API Key 以明文存储。确保配置文件仅你的用户可读:chmod 600 ~/.clawsaid/config.json

自定义 API URL

默认指向 https://api.clawsaid.com。开发或自建环境:
clawsaid config set api-url http://localhost:8010

查看配置

clawsaid config list

更新

npm update -g @clawsaid/cli

卸载

npm uninstall -g @clawsaid/cli

下一步

命令参考

所有 CLI 命令的完整列表。