step-by-step
Installation often fails due to outdated guides, causing confusion, errors, and unnecessary debugging that wastes your time.
Use Anthropic’s native installer which removes dependencies and completes setup quickly with minimal steps and zero confusion.
Requires Ubuntu 20+, Debian 10+, or Alpine 3.19+, minimum 4GB RAM, stable internet, and Bash or Zsh shell.
Claude Code requires a paid Anthropic plan like Pro or Teams, free plans do not support installation.
Open your terminal and move into your project directory before running the installation command.
Run the official curl command to download and install Claude Code automatically with proper configuration.
curl -fsSL https://claude.ai/install.sh | bash
Installer downloads files, sets paths, and configures everything automatically without requiring Node.js or manual setup.
Run “claude --version” and “claude doctor” to confirm installation and ensure everything is configured properly.
If command fails, add Claude path to your shell config and restart terminal to fix instantly.
You can install using npm, but it requires Node.js and lacks auto-update support compared to native installer.
Run “claude”, sign in through browser, and authorize access to start using Claude Code in terminal.
Claude Code is now installed, verified, and ready to use directly from your Linux terminal anytime.