System requirements
- Operating Systems: macOS, Linux, or Windows WSL2
- Hardware: 4 GB+ RAM
Installation
To install Claude Code, use one of the following methods:- Latest Version (default)
- Stable Version
- Specific Version
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install Claude Code on macOS and Linux
curl -fsSL https://claude.ai/install.sh | bash
curl -fsSL https://claude.ai/install.sh | bash -s stable
curl -fsSL https://claude.ai/install.sh | bash -s 2.0.76
claude --version
# 2.0.76 (Claude Code)
claude doctor after installation to check your installation type and version.