Installation Guide
System Requirements
Before installing Claude Code, ensure your system meets the following requirements:
- Operating System: Windows 10+, macOS 10.15+, or Linux
- Node.js: Version 18.0 or higher
- Memory: At least 4GB RAM
- Network: Stable internet connection
Installing Claude Code
Method 1: Install via npm (Recommended)
npm install -g @anthropic-ai/claude-code
Method 2: Install via Homebrew (macOS)
brew install claude-code
Method 3: Download Binary
Visit our releases page to download the latest binary for your platform.
Initial Setup
After installation, run the setup command:
claude setup
This will guide you through:
- API Key Configuration - Connect to Anthropic's API
- Workspace Setup - Configure your default workspace
- Preferences - Set your coding style and preferences
Verify Installation
Test your installation:
claude --version
claude --help
Quick Start
Create your first project with Claude Code:
mkdir my-project
cd my-project
claude init