Skip to Content

Installation

Time: 10 minutes. Install once per machine, then log in.

What You Need

  • A terminal
  • A Claude account (Pro, Max, or a Console API key)
Terminal
curl -fsSL https://claude.ai/install.sh | bash

Restart your terminal when it finishes.

Log In

Run this from any project folder:

Terminal
claude

It opens a browser to log in. Pick your account type (Claude subscription or Console API key), approve, and you’re in. This only happens once — credentials refresh automatically after that.

Verify It Works

Terminal
claude --version claude doctor

--version shows a version number. doctor checks your setup and login, and tells you if anything is wrong.

Common Problems

claude: command not found — restart your terminal. Still failing? The install folder isn’t in your PATH; add it manually.

Browser doesn’t open — Claude Code prints a URL instead. Open it in any browser, even on another device.

Corporate SSO / proxy — if your company uses Bedrock, Google Cloud, or Microsoft Foundry for AI access, ask your IT team for their setup steps instead.

Next → Your First Session

install claude code, claude code setup, claude code login, claude code windows mac linux, claude code npm install

Last updated on