Sign in with Google
OpenToolslogo
ToolsExpertsSubmit a Tool
Advertise
HomeResourcesClaude CodeClaude Code Quick Start Guide: Install, Authenticate, Run
AllNext

Claude Code Resources

  • Claude Code Quick Start Guide: Install, Authenticate, Runquickstart
  • How to Write CLAUDE.md: Claude Code's Most Important File
  • Claude Code CLI Reference: Every Command and Flagreference
  • Claude Code in Your IDE: VS Code, JetBrains, and Desktop App
  • Claude Code Skills and Custom Commands: Extend Claude's Capabilities
  • Claude Code Hooks: Automate Your Workflow with Lifecycle Events
  • Claude Code MCP: Connect External Tools and Data Sources
  • Claude Code vs Cursor vs GitHub Copilot: 2026 Comparisoncomparison
  • Claude Code Subagents: Parallel Processing for Complex Tasks
  • Claude Agent SDK: Build Custom AI Agents Programmatically
  • Claude Code in CI/CD: GitHub Actions, GitLab CI, and Automation
  • 25 Advanced Claude Code Tips: From Power User to Protips
  • Everything Claude Code (ECC) - Configuration Framework & Toolkittoolkit

Claude Code Quick Start Guide: Install, Authenticate, Run

quickstartbeginner5 min readVerified Apr 28, 2026

Get Claude Code running in under 5 minutes. Covers installation on every platform, authentication options, your first commands, and essential shortcuts.

claude-codequickstartinstallationclibeginner

Key Takeaways#

  • Install in one command — the native installer works on macOS, Linux, and WSL without Node.js.
  • Three auth paths — use a Claude subscription, an API key, or an enterprise provider (Bedrock/Vertex).
  • Start coding immediately — cd into any project and run claude to begin.
  • Slash commands save time — /cost, /compact, and /clear are your daily drivers.
  • npm install is deprecated — since v2.1.15, use the native installer or a package manager instead.

System Requirements#

RequirementMinimum
macOS13+ (Ventura)
LinuxUbuntu 20.04+ / Debian 10+
Windows10+ (native or WSL2)
RAM4 GB
ShellBash, Zsh, or Fish
NetworkOutbound HTTPS to api.anthropic.com

Installation#

Native Installer (Recommended)#

The native installer auto-updates and does not require Node.js.

macOS / Linux / WSL:

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

Windows PowerShell:

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

Windows CMD (alternative):

curl -fsSL https://claude.ai/install.ps1 | powershell -Command -

Homebrew (macOS / Linux)#

# Stable release brew install --cask claude-code # Rolling / latest brew install --cask claude-code@latest

WinGet (Windows)#

winget install Anthropic.ClaudeCode

Note: npm install -g @anthropic-ai/claude-code is deprecated since v2.1.15. If you previously installed via npm, uninstall it and switch to one of the methods above.


Authentication#

Claude Code supports three authentication paths. Pick the one that matches your account.

1. Claude Subscription (Pro / Max / Team)#

The default flow. It opens a browser for OAuth login.

claude auth login

2. API Key#

For pay-as-you-go usage with an Anthropic API key.

claude auth login --console

This prompts for your key in the terminal instead of opening a browser. You can also set the ANTHROPIC_API_KEY environment variable directly.

3. Enterprise — Amazon Bedrock / Google Vertex#

Set the appropriate environment variables for your cloud provider, then authenticate:

# Bedrock export CLAUDE_CODE_USE_BEDROCK=1 claude auth login # Vertex export CLAUDE_CODE_USE_VERTEX=1 claude auth login

Verify Your Auth#

claude auth status

This prints your active account type and whether your session is valid.


Your First Session#

  1. Navigate to a codebase:
cd ~/projects/my-app
  1. Launch Claude Code:
claude
  1. Try one of these prompts to get started:
  • Explain the architecture of this project
  • Find and fix the bug in src/auth/login.ts
  • Add unit tests for the calculate_total function
  • Refactor the API handlers to use async/await
  1. Use slash commands while you work:
CommandWhat It Does
/costShow token usage and spend for the session
/compactCompress conversation context to free up space
/clearWipe the conversation and start fresh
/helpList all available slash commands
/modelSwitch the underlying model
/configView or change project-level settings

Essential Shortcuts#

ShortcutAction
EscapeInterrupt current generation
@fileAttach a file to your prompt (e.g., @src/main.py)
TabAccept autocomplete suggestion
Up/DownScroll through prompt history
Ctrl+CCancel current input or running task
Ctrl+LClear the terminal screen

Next Steps#

  • Project configuration — Learn how CLAUDE.md files set project-level instructions: see the CLAUDE.md guide.
  • Full CLI reference — Flags, subcommands, and advanced usage: see the CLI reference.
  • MCP integration — Connect external tools and data sources to Claude Code.
  • Hooks and automation — Run Claude Code headlessly in CI/CD pipelines.
NextHow to Write CLAUDE.md: Claude Code's Most Important File

On this page

  • Key Takeaways
  • System Requirements
  • Installation
  • Native Installer (Recommended)
  • Homebrew (macOS / Linux)
  • WinGet (Windows)
  • Authentication
  • 1. Claude Subscription (Pro / Max / Team)
  • 2. API Key
  • 3. Enterprise — Amazon Bedrock / Google Vertex
  • Verify Your Auth
  • Your First Session
  • Essential Shortcuts
  • Next Steps

Footer

Company name

The right AI tool is out there. We'll help you find it.

LinkedInX

Knowledge Hub

  • News
  • Resources
  • Newsletter
  • Blog
  • AI Tool Reviews

Industry Hub

  • AI Companies
  • AI Tools
  • AI Models
  • MCP Servers
  • AI Tool Categories
  • Top AI Use Cases

For Builders

  • Submit a Tool
  • Experts & Agencies
  • Advertise
  • Compare Tools
  • Favourites

Legal

  • Privacy Policy
  • Terms of Service

© 2026 OpenTools - All rights reserved.