Skip to content

cli安装 ​


安装 ​

shell
npm install -g @anthropic-ai/claude-code
npm install -g @openai/codex@latest
npm install -g @github/copilot@latest

更新 ​

shell
npm update -g @anthropic-ai/claude-code@latest
npm update -g @openai/codex@latest
npm update -g @github/copilot@latest

#或
claude update
codex update
copilot update

卸载 ​

shell
npm uninstall -g @anthropic-ai/claude-code
npm uninstall -g @openai/codex
npm uninstall -g @github/copilot