cs ——CoreSpeed CLI
命令行工具用于 核心设置: 签名通过 浏览器、创建 API 密钥、 写入代理配置、 管理连接器和 您所在组织的 MCP 服务器,从终端调用工具,并移动 进出你的组织驱动器.
安装
# One-off, no install (ideal for agents / CI)
npx @corespeed/cs@latest --help
# Global install
npm install -g @corespeed/cs
cs --help
# Bun equivalents
bunx @corespeed/cs --help
bun install -g @corespeed/cs
npm 安装本土 cs 用于macOS(苹果硅和英特尔)、Linux(x64和
arm64)和Windows (x64);它的发射机需要Node.js QQ 20 (或 Bun). 其它
系统,例如Arm上的Windows,尚未被支持. 不安装为
--omit=optional。 。 。 .
在 Windows PowerShell 中,类型 npx.cmd 财务报告和审定财务报表 cs.cmd: 一个平原 npx 或者说 cs 运行
没有 .ps1 脚本, Windows 默认拒绝的脚本(“运行的脚本”是
已禁用此系统).
npx.cmd @corespeed/cs@latest --help
cs.cmd --help
快开始
cs login # browser PKCE login; pick an org; stores tokens under ~/.config/cs
cs whoami # show the current user, org, permissions and key ceiling
cs switch # change the active org without signing in again
cs keys create my-key # mint an sk-cs-* API key (shown once); --permission <slug> to give it one you hold
cs mcp-config # emit MCP client config JSON for the unified /mcp surface
cs drive put ./q3.pdf reports/q3.pdf # a local file into your Drive; get / ls / mv / rm / share too
cs tie # tie this machine: sign in, pick a folder to share, check it end to end
运行 cs --help 用于完整命令列表logout, (中文(简体) ), keys, (中文(简体) ), connectors, (中文(简体) ),
remote, (中文(简体) ), mcp, (中文(简体) ), drive, (中文(简体) ), tie, (中文(简体) ), untie, (中文(简体) ), usage(中文(简体) ).
环境
| 变量 | 默认 | 目的 |
|---|---|---|
CS_CONFIG_DIR | ~/.config/cs | 存储会话的地点,以及 tie.json 用这个 |
CS_API_KEY | 未设定 | API 密钥 cs tie 其主要——代理人,或你——拥有机器,没有标志 |
CS_LOGIN_PORT | 随机 | 用于登录的回调的固定回回调端口( 在 SSH 上签名) |
DO_NOT_TRACK | 未设定 | 设定为 1 送一个空的 cs 用户代理而不是产品/版本字符串 |
学多点
每个命令、旗帜和退出代码: (原始内容存档于2018-09-26) (英语). corespeed.io/docs/cli。 。 。 .
对于 Claude 代码和 Codex , CoreSpeed 插件用一个 此 CLI 的浏览器登录和捆绑技能 : github.com/corespeed-io/cs (中文(简体) )。 。 。 .
许可证
阿帕奇 - 2.0 (原始内容存档于2019-09-29) (英语). CoreSpeed Inc.