- Install Claude Code
curl -fsSL https://claude.ai/install.sh | bashOr with Homebrew: brew install --cask claude-code
- Start it in your project and sign in
cd ~/projects/my-app claudeA browser window opens to sign in. You need a Claude subscription or an Anthropic API key.
Check it worked
- Check the version
claude --version
Undo it
- Uninstall Claude Code
rm -f ~/.local/bin/claude rm -rf ~/.local/share/claude
- Install Claude Code
curl -fsSL https://claude.ai/install.sh | bash - Start it in your project and sign in
cd ~/projects/my-app claudeA browser window opens to sign in. You need a Claude subscription or an Anthropic API key.
Check it worked
- Check the version
claude --version
Undo it
- Uninstall Claude Code
rm -f ~/.local/bin/claude rm -rf ~/.local/share/claude
- Install Claude Code
irm https://claude.ai/install.ps1 | iexClose and reopen PowerShell afterwards.
- Start it in your project and sign in
cd ~\projects\my-app claudeA browser window opens to sign in. You need a Claude subscription or an Anthropic API key.
Check it worked
- Check the version
claude --version
Undo it
- Uninstall Claude Code
Remove-Item "$env:USERPROFILE\.local\bin\claude.exe" Remove-Item -Recurse "$env:USERPROFILE\.local\share\claude"