Course
Claude Code Fundamentals
All steps
Setup and Environment
Installing Claude Code
Install steps for Mac, Linux, and Windows, plus verifying everything works.
Claude Code needs Node.js and an Anthropic account. Installation is simple and takes under five minutes.
Prerequisites
- Node.js version 18 or newer
- A Claude.ai account (paid: Pro or Max)
- A Terminal (built into Mac and Linux, or Windows Terminal)
Step 1. Install Claude Code via npm
npm install -g @anthropic-ai/claude-codeStep 2. Verify the installation
claude --versionStep 3. Log in
claude loginYour Browser Will Open
The claude login command opens your browser so you can sign in with your Claude account. After you confirm, control returns to the Terminal automatically.