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.
- Windows, Git Bash
- Windows, PowerShell
- Windows, CMD
- macOS
- Linux
- Windows, WSL
- Desktop app
Recommended enterprise setup
- Confirm that Git for Windows and Git Bash are available
- Open Windows PowerShell for installation
- Run the native Windows installer
irm https://claude.ai/install.ps1 | iex
- Close and reopen Git Bash
- Verify the installation
claude --version
- Open the required project folder
cd /c/path/to/your/project
- Start Claude Code
claude
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.
Open PowerShell and run:
irm https://claude.ai/install.ps1 | iex
Verify the installation:
claude --version
Open the required project:
cd "C:\path\to\your\project"
Start Claude Code:
claude
The PowerShell installer uses irm and iex.
Do not run the Windows Command Prompt installation command inside PowerShell.
Open Windows Command Prompt and run:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Verify the installation:
claude --version
Open the required project:
cd C:\path\to\your\project
Start Claude Code:
claude
Open Terminal and run the native installer:
curl -fsSL https://claude.ai/install.sh | bash
Verify the installation:
claude --version
Open the required project:
cd /path/to/your/project
Start Claude Code:
claude
Open the terminal and run:
curl -fsSL https://claude.ai/install.sh | bash
Verify the installation:
claude --version
Open the required project:
cd /path/to/your/project
Start Claude Code:
claude
Supported environments include:
- Ubuntu 20.04 or newer
- Debian 10 or newer
- Alpine Linux 3.19 or newer
Open the Windows Subsystem for Linux terminal and run:
curl -fsSL https://claude.ai/install.sh | bash
Verify the installation:
claude --version
Open the required project:
cd /path/to/your/project
Start Claude Code:
claude
Windows Subsystem for Linux does not require Git for Windows for Claude Code Bash functionality.
Use Claude Desktop when you prefer a graphical interface instead of a terminal-first experience.
The Claude Code desktop experience provides:
- Parallel working sessions
- Integrated terminal and file editing
- Visual code-difference review
- Live application preview
- GitHub pull-request monitoring
- Local project access
Get started
- Install the approved Claude Desktop application
- Launch Claude Desktop
- Sign in using the enterprise-provided account
- Open the Code area
- Select a familiar project folder
- Begin with a small, well-defined task
Claude Desktop includes the graphical Code experience.
Using the claude command from a separate terminal still requires the Claude Code command-line installation.