A step-by-step guide to getting Claude Code up and running on your machine — fast, simple, and ready to supercharge your development workflow.
Before diving into the installation, let's make sure your system is ready. This chapter covers everything you need to check off before you begin.
macOS 13.0+ (Ventura), Windows 10 1809+, or Ubuntu 20.04+ / Debian 10+
4 GB minimum — more is recommended for larger models and heavier workloads
Stable internet connection required for initial setup and all API calls
Must be situated in an Anthropic-supported country to access the service. As of May 2026, South Africa has been added to the list of Anthropic-supported Countries for Claude.ai and Claude Code.
Ventura 13.0 or later — fully supported ✅
Windows 10 build 1809 or later — fully supported ✅
Ubuntu 20.04+ or Debian 10+ — fully supported ✅
The native installer is the simplest and most reliable way to get Claude Code on your machine. No dependencies, no fuss — just a single command.

The native installer handles everything for you automatically:
Downloads a standalone binary — no Node.js required
Automatically adds Claude Code to your system PATH
Configures automatic background updates so you're always current

Launch the Terminal application on your Mac or Linux machine. You can find it via Spotlight (⌘ + Space) or your applications folder.
Copy and paste the command below, then press Enter:
curl -fsSL https://claude.ai/install.sh | bashThe installer will handle the rest automatically.

Right-click the Start menu and select "Windows PowerShell (Admin)" or search for PowerShell and choose "Run as administrator".
Copy and paste the command below, then press Enter:
irm https://claude.ai/install.ps1 | iex
Search for "cmd" in the Start menu and open the Command Prompt application. Administrator privileges are recommended.
Copy and paste the command below, then press Enter:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmdThe installer has finished — but how do you know it worked? This chapter walks you through confirming a successful installation and launching Claude Code for the very first time.
Always open a fresh terminal window after installation to ensure the PATH is updated correctly.
Type claude --version and press Enter. A version number should appear without any errors.
If you see a version number displayed, your installation is complete and working correctly. 🎉

The first time you run claude, you'll be guided through a quick authentication flow:
Type claude in your terminal and press Enter
Your default browser will open with a login prompt
Log in with your Anthropic account credentials to complete setup
Claude Code is now installed, verified, and authenticated. Your AI-powered coding companion is ready to help you write, debug, and review code like never before.
Generate boilerplate, functions, and entire files with natural language prompts
Describe your bug and let Claude pinpoint the issue and suggest fixes instantly
Use Claude as a pair programmer to understand new concepts and best practices
Follow these four steps and you'll have Claude Code running in minutes — your AI coding companion is ready to get to work.
Installing Claude Code: Your AI Coding Companion