AI tools

Install Claude Code

Anthropic's AI coding assistant in your terminal: it reads your project, edits files and runs commands with you.

  1. Install Claude Code
    Terminal
    curl -fsSL https://claude.ai/install.sh | bash

    Or with Homebrew: brew install --cask claude-code

  2. Start it in your project and sign in
    Terminal
    cd ~/projects/my-app
    claude

    A browser window opens to sign in. You need a Claude subscription or an Anthropic API key.

Check it worked

  1. Check the version
    Terminal
    claude --version
Undo it
  1. Uninstall Claude Code
    Terminal
    rm -f ~/.local/bin/claude
    rm -rf ~/.local/share/claude
  1. Install Claude Code
    Terminal · Ubuntu / Debian
    curl -fsSL https://claude.ai/install.sh | bash
  2. Start it in your project and sign in
    Terminal · Ubuntu / Debian
    cd ~/projects/my-app
    claude

    A browser window opens to sign in. You need a Claude subscription or an Anthropic API key.

Check it worked

  1. Check the version
    Terminal · Ubuntu / Debian
    claude --version
Undo it
  1. Uninstall Claude Code
    Terminal · Ubuntu / Debian
    rm -f ~/.local/bin/claude
    rm -rf ~/.local/share/claude
  1. Install Claude Code
    PowerShell
    irm https://claude.ai/install.ps1 | iex

    Close and reopen PowerShell afterwards.

  2. Start it in your project and sign in
    PowerShell
    cd ~\projects\my-app
    claude

    A browser window opens to sign in. You need a Claude subscription or an Anthropic API key.

Check it worked

  1. Check the version
    PowerShell
    claude --version
Undo it
  1. Uninstall Claude Code
    PowerShell
    Remove-Item "$env:USERPROFILE\.local\bin\claude.exe"
    Remove-Item -Recurse "$env:USERPROFILE\.local\share\claude"