Installation Methods in AI

From the Claude Code cheat sheet · Installation & Setup · verified Jul 2026

Installation Methods

Multiple ways to install Claude Code

bash
# NPM Installation (recommended)
npm install -g @anthropic-ai/claude-code

# Native Installer (macOS/Linux/WSL)
curl -fsSL claude.ai/install.sh | bash

# Windows PowerShell
irm https://claude.ai/install.ps1 | iex

# Verify installation
claude --version

# Requirements: Node.js 18+
💡 NPM installation is recommended for most users
📌 Native installers available for all platforms
⚡ Requires Node.js 18 or newer
installation

More AI tasks

Back to the full Claude Code cheat sheet