Skip to content

Installation

Install Claude Code, sign in through your browser, and save evidence that the setup works. You do not need an API key for normal use. Reviewed September 4, 2026.

Before you begin

  • Use a terminal and a project folder where you can practise.
  • You need Claude Pro, Max, Team, or Enterprise; a Claude Console account with prepaid credit; or a supported cloud provider.

The free Claude plan does not include Claude Code. A subscription uses plan limits; Console usage is billed through the API.

1. Install Claude Code

macOS, Linux, or WSL: recommended native installer

Terminal
curl -fsSL https://claude.ai/install.sh | bash

Windows PowerShell: recommended native installer

Terminal
irm https://claude.ai/install.ps1 | iex

For Command Prompt (CMD), not PowerShell:

Terminal
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

Package managers

Terminal
# macOS stable channel
brew install --cask claude-code

# Windows
winget install Anthropic.ClaudeCode

npm remains a supported alternative

This course recommends Node.js 22 LTS or later for npm. Do not run the global install with sudo.

Terminal
npm install -g @anthropic-ai/claude-code

2. Verify the installation

Terminal
claude --version
claude doctor

3. Sign in

Terminal
cd path/to/your-project
claude

On first use, sign in in your browser with an eligible subscription or Console account. Use /login inside Claude Code to switch accounts later.

ANTHROPIC_API_KEY is optional and is intended for API billing or automation. If it is already set, Claude Code asks you to approve it instead of starting the normal browser flow.

Windows: Git for Windows or WSL

Git for Windows is recommended for Bash, but not mandatory: Claude Code can fall back to PowerShell. WSL does not require Git for Windows.

4. Run a safe check

Terminal
What does this folder contain? Do not modify anything.
Then tell me which file appears to be the entry point.

Update commands

Terminal
# Homebrew
brew upgrade claude-code

# WinGet
winget upgrade Anthropic.ClaudeCode

# npm
npm install -g @anthropic-ai/claude-code@latest

Save your evidence

Terminal
Operating system:
Installation method:
Claude Code version:
Sign-in complete: yes / no
claude doctor clean: yes / no
Verification date:

Official sources

Anthropic Claude Code quickstart

Anthropic setup documentation

How this course fitsOpen the map only when you need it.

Complete Aulafy map

How all courses connect

This is not a checklist. Start with the foundation, choose an outcome, and go deeper only when your project needs more control.

  1. 1Understand
  2. 2Apply or build
  3. 3Operate with confidence
01

Choose an application

Turn the foundation into a visible outcome: a website, a business improvement, media, or an interactive experience.

Continue into the technical branch when you need to maintain code, data, or infrastructure.

02

Build with code

Prepare your environment, work with coding agents, and run models while keeping control of your projects.

This branch prepares you to design and operate reliable AI systems.

03

Take systems to production

Combine retrieval, agents, evaluation, security, deployment, and model adaptation when the problem requires it.

You do not need every course: choose the component your system needs and return as it grows.

View full catalogue