Checklist8 min read

Installation and First Launch - Checklist

SFEIR Institute•

TL;DR

This checklist covers every step to install Claude Code and succeed on your first launch without any blockers. Verify system prerequisites, configure your environment, validate authentication, and run your first command in under 15 minutes. Follow this checklist point by point to avoid common setup errors.

This checklist covers every step to install Claude Code and succeed on your first launch without any blockers. Verify system prerequisites, configure your environment, validate authentication, and run your first command in under 15 minutes. Follow this checklist point by point to avoid common setup errors.

Claude Code is the command-line interface developed by Anthropic that integrates an AI assistant directly into your development terminal. This tool requires precise configuration to work without friction. over 70% of problems encountered on first launch stem from a missing or misconfigured prerequisite. This installation and first launch verification checklist guides you through every necessary check.

How to verify system prerequisites before installation?

Before any installation, check that your machine meets the minimum requirements. A missing prerequisite is the number one cause of first launch failures.

Open your terminal and run each command below to validate your environment. The detailed installation and first launch guide covers these checks in depth.

PrerequisiteMinimum VersionVerification Command
Node.js18.0.0 (recommended: 22 LTS)node --version
npm9.0.0npm --version
Git2.38+git --version
Operating systemmacOS 13+, Ubuntu 22.04+, Windows 11 (WSL2)uname -a
Available disk space500 MB minimumdf -h .

Check the Node.js version first. Claude Code v2.x requires Node.js 18 at minimum, but version 22 LTS offers 15% better performance on response parsing.

# Quick check of all prerequisites
node --version    # expected: v18.x or higher
npm --version     # expected: 9.x or higher
git --version     # expected: 2.38 or higher

If your Node.js version is below 18, install the LTS version via nvm. In practice, nvm lets you manage multiple Node.js versions on the same machine without conflicts.

# Install Node.js 22 via nvm
nvm install 22
nvm use 22
nvm alias default 22

In practice, 85% of developers who fail the installation are using a Node.js version below 16, which is incompatible with Claude Code's ESM dependencies.

Key takeaway: validate Node.js 18+, npm 9+, Git 2.38+, and 500 MB of disk space before moving to the next step.

How to install Claude Code via npm?

Installing Claude Code is done with a single npm command. Run the global installation to make the claude command accessible from any directory.

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

This command downloads approximately 45 MB of dependencies. If you encounter permission errors, check the section on common permission and security errors to resolve them.

Installation MethodCommandAverage Time
npm globalnpm install -g @anthropic-ai/claude-code30 seconds
npx (no installation)npx @anthropic-ai/claude-code45 seconds
Updatenpm update -g @anthropic-ai/claude-code20 seconds

Verify that the installation succeeded immediately after:

claude --version
# expected: claude-code v2.x.x

If the claude command is not recognized, your npm global PATH is not configured. Run npm config get prefix and add the resulting bin directory to your PATH variable.

In practice, installation via npm takes less than 60 seconds on a 100 Mbps fiber connection.

Key takeaway: a single command is all you need - npm install -g @anthropic-ai/claude-code - then validate with claude --version.

What checks should you perform for authentication?

Authentication is the step where most developers hit their first blocker. Claude Code requires a valid Anthropic API key or an OAuth connection.

Launch Claude Code for the first time to trigger the authentication flow:

claude

Here is how to configure your API key manually if the automatic flow fails:

export ANTHROPIC_API_KEY="sk-ant-your-key-here"
Authentication MethodConfigurationUse Case
OAuth (browser)Automatic on first launchPersonal use
API key (env variable)export ANTHROPIC_API_KEY=...CI/CD, scripts
Config file~/.claude/config.jsonShared environment

the OAuth method is recommended for 90% of users as it automatically handles token renewal.

Verify that your authentication works by running a simple command. If you get a 401 error, your key is invalid or expired. Check the common errors during your first conversations to diagnose the problem.

Key takeaway: prefer OAuth authentication for daily use; reserve the API key for automated environments.

How to validate the first launch in a project?

The first launch should be done in an existing project directory. Claude Code analyzes the project structure to tailor its responses.

Navigate to your project and launch Claude Code:

cd ~/my-project
claude

On first launch, Claude Code creates a CLAUDE.md file at the root of your project. This persistent memory file stores conventions and instructions specific to your codebase. To understand how it works, see the guide on the CLAUDE.md memory system and its common errors.

Here is how to verify that the launch went smoothly:

  1. Confirm that the claude> prompt appears in your terminal
  2. Verify that no red error messages are displayed
  3. Type a simple command like claude "explain the structure of this project"
  4. Check that the response mentions actual files from your directory

In practice, the initial scan of a 10,000-file project takes between 3 and 8 seconds depending on your disk performance.

If the first launch fails, the installation quickstart offers a 5-step diagnostic.

Key takeaway: always launch Claude Code from the root of a Git project to get optimal context.

What configuration settings should you adjust?

After installation, some default settings are worth adjusting. Configure Claude Code according to your working environment.

Slash commands let you customize the tool's behavior. To master them, explore the essential slash commands and their common errors.

SettingDefault ValueRecommended ValueImpact
ModelClaude Sonnet 4.6Claude Sonnet 4.6 or Opus 4.6Response quality
Timeout120 seconds300 secondsLong-running tasks
Permissionsaskauto (local files)Productivity
Themeautoper preferenceReadability

Configure the timeout if you work on long operations like multi-file code generation:

claude config set timeout 300000

In 2026, Claude Code offers three permission levels: ask (prompts for each action), auto (authorizes local actions), and bypass (no restrictions). In practice, auto mode represents the best balance between security and fluidity for 80% of developers.

The context management errors page explains how to optimize the context window size for large projects.

Key takeaway: adjust the timeout to 300 seconds and the permission mode to auto for smooth daily usage.

How to diagnose common problems on first launch?

Even with a thorough checklist, some problems can occur. Here is how to identify and resolve them quickly.

SymptomProbable CauseSolution
command not found: claudenpm PATH misconfigurednpm config get prefix then add to PATH
401 Unauthorized errorInvalid API keyRegenerate key on console.anthropic.com
Timeout on launchProxy or firewallConfigure HTTPS_PROXY
EACCES permission deniednpm permissionssudo chown -R $(whoami) $(npm config get prefix)
Empty responsesAPI quota exhaustedCheck the Anthropic dashboard

62% of developers encounter at least one PATH issue when installing a global CLI tool.

Run the built-in diagnostic command to automatically identify problems:

claude doctor

This command checks in 10 seconds: Node.js version, network connectivity, API key validity, and file system permissions.

If you encounter Git-specific issues, the Git integration checklist covers hook configuration and commit conventions. For MCP server issues, refer to the MCP: Model Context Protocol checklist.

Key takeaway: the claude doctor command resolves 90% of configuration problems by automatically identifying the cause.

Why follow this checklist instead of a quick installation?

An unverified installation leads to cascading problems. A developer who skips the checks loses an average of 45 minutes diagnosing avoidable errors.

This structured checklist ensures that each component works before moving to the next. The step-by-step installation tutorials complement this approach with screenshots and detailed explanations.

Systematic checking of the installation and first launch saves you time in the long run. In practice, teams that use a verification checklist reduce their internal support tickets by 40%.

SFEIR Institute offers a dedicated one-day Claude Code training that covers installation, advanced configuration, and productive workflows through hands-on labs. To go further, the 2-day AI-Augmented Developer training teaches you to integrate Claude Code into your complete development cycle, from prototyping to deployment. Experienced developers can explore the one-day AI-Augmented Developer - Advanced training to master complex use cases like CI/CD pipeline automation.

Key takeaway: a verified installation in 15 minutes saves you hours of debugging - follow each checkpoint in order.

What are the post-installation checkpoints you should not forget?

Once Claude Code is installed and launched, perform these final checks to confirm your environment is fully operational.

Final validation checklist:

  1. Verify that claude --version returns version 2.x or higher
  2. Confirm that claude doctor reports no errors
  3. Test a simple command: claude "list the project files"
  4. Check for the presence of the CLAUDE.md file at the project root
  5. Validate that permissions are correctly configured via /permissions
  6. Run an assisted commit to test Git integration
  7. Check token consumption on the Anthropic dashboard

SFEIR supports development teams in adopting these AI tools. Post-installation verification takes about 5 minutes and ensures a stable environment.

Each point in this checklist corresponds to a documented error source. The common installation errors page groups the most frequent cases encountered by the community.

Key takeaway: these 7 post-installation checks take 5 minutes and guarantee a 100% functional Claude Code environment.

Recommended training

Claude Code Training

Master Claude Code with our expert instructors. Practical, hands-on training directly applicable to your projects.

View program