Skip to main content

Installation by platform

Select your platform​

Claude Code installs natively on Windows, macOS, Linux, and Windows Subsystem for Linux. Choose a tab below — your selection is remembered across the other pages in this playbook.

Once installed, return to Installation to verify your setup.

  1. Confirm that Git for Windows and Git Bash are available
  2. Open Windows PowerShell for installation
  3. Run the native Windows installer
irm https://claude.ai/install.ps1 | iex
  1. Close and reopen Git Bash
  2. Verify the installation
claude --version
  1. Open the required project folder
cd /c/path/to/your/project
  1. Start Claude Code
claude
Git Bash support

Claude Code supports native Windows. Git for Windows is recommended because Git for Windows enables the Bash tool.

Without Git for Windows, Claude Code uses PowerShell instead.