Pioneer CLI 以
@fastino-ai/pioneer-cli 的形式发布,需要 Bun 1.1.0 或更高版本才能运行。要求
- macOS 或 Linux
- Bun
1.1.0或更高版本 - Node.js 和 npm
- 从 Pioneer API 密钥获取的 Pioneer API 密钥
安装 CLI
1
安装 Bun
2
安装 Pioneer CLI
3
验证命令
身份验证
1
创建 API 密钥
在 Pioneer 控制台中创建 API 密钥,并准备好在登录提示时使用。
2
交互式登录
3
确认会话
交互式登录会将你的 API 密钥存储在
~/.pioneer/config.json 中。CLI 也支持使用 PIONEER_API_KEY,适用于 CI 或短期 shell 会话。检查安装
运行几个只读命令,确认 CLI 可以连接到 Pioneer:更新
故障排除
pioneer: command not found
pioneer: command not found
确保全局 npm bin 目录在
PATH 中。env: bun: No such file or directory
env: bun: No such file or directory
安装 Bun 并打开一个新的终端:
身份验证失败
身份验证失败
在 Pioneer 控制台中创建一个新的 API 密钥,然后重新运行交互式登录。