Claude Code CLI
Description: AI编程助手。
| 适用系统 | 类型 | 标签 |
|---|---|---|
| Windows, Linux, macOS | Development | AI |
安装
bash
curl -fsSL https://claude.ai/install.sh | bash教程
- https://www.runoob.com/claude-code/claude-code-tutorial.html
- https://code.claude.com/docs/zh-CN/overview
删除
To uninstall Claude Code CLI, use the command for your installation method:
macOS/Linux/WSL:
bash
rm -f ~/.local/bin/claude
rm -rf ~/.local/share/claude
rm -rf ~/.claude
rm ~/.claude.jsonWindows PowerShell:
powershell
Remove-Item -Path "$env:USERPROFILE\.local\bin\claude.exe" -Force
Remove-Item -Path "$env:USERPROFILE\.local\share\claude" -Recurse -ForceHomebrew: brew uninstall --cask claude-code
WinGet: winget uninstall Anthropic.ClaudeCode
npm: npm uninstall -g @anthropic-ai/claude-code