Skip to content
Skillpedia

Claude Code Download: Install on Windows, Mac and Linux

Skillpedia team · updated 2026-12-01 · 11 min read

Short answer: To download Claude Code, open the terminal and paste the official command for your system. On Mac and Linux it is curl -fsSL https://claude.ai/install.sh | bash. On Windows it is irm https://claude.ai/install.ps1 | iex in PowerShell. Then just type claude inside your project folder. If you'd rather not use the terminal, you can use Claude Code through the desktop app or the VS Code extension.

Claude Code is Anthropic's tool that works directly on the files on your computer. It reads your project, writes code, runs commands, and explains what it did. Installing it takes a few minutes, even for people who have never opened a terminal.

Here you'll find every way to download it: terminal, desktop app, and code editor extension. There is also a step-by-step guide just for Windows, where most errors happen, and a list of fixes for each one.

Table of Contents

  1. What is Claude Code and why install it?
  2. What you need before you start
  3. Installation step by step (Windows, Mac, Linux)
  4. Claude Code on Windows (step by step and common errors)
  5. No terminal: desktop app and VS Code extension
  6. How to use Claude Code for the first time
  7. What are Skills and Connectors (MCP)?
  8. Common questions and installation problems
  9. Skills that help with this
  10. Next step: install your first skill
  11. Frequently Asked Questions

What is Claude Code and why install it?

Think of an experienced builder who walks into your job site, looks at what's already been done, and asks what you want next. Claude Code works the same way, but with code. It runs in the terminal, the text window where you type commands to the computer.

The difference from a chat in the browser is that it can see your entire project folder. You don't need to copy and paste files. It reads, edits, creates new files, and tests them, always asking your permission before changing anything important.

If you want to understand what the tool does before installing it, check the guide Claude Code: what it is, what it does, and how to start.

What you need before you start

You need three things:

  1. A Claude account. You can sign up at claude.ai.
  2. A plan that includes Claude Code. The free app plan does not give access. You need a paid plan (Pro or higher) or an account with API credits. Details are in Is Claude Code free? Prices and plans.
  3. A compatible computer. According to the official documentation:
    • Windows: 10 (version 1809) or later.
    • macOS: 13 (Ventura) or later.
    • Linux: Ubuntu 20.04+, Debian 10+, or similar.
    • RAM: at least 4 GB.

Requirements can change. Check the current list in the official Claude Code documentation.

Flow for Downloading and Using Claude Code

Installation step by step (Windows, Mac, Linux)

Choose your system, copy the command, and press Enter. These are the official installers. A version installed this way updates itself automatically.

System Where to paste Command
Mac Terminal curl -fsSL https://claude.ai/install.sh | bash
Linux and WSL Terminal curl -fsSL https://claude.ai/install.sh | bash
Windows PowerShell irm https://claude.ai/install.ps1 | iex

For macOS users

  1. Open the Terminal app. You'll find it in Applications > Utilities, or just search for "Terminal" in Spotlight.
  2. Paste the command and press Enter:
    curl -fsSL https://claude.ai/install.sh | bash
    
  3. If you already use Homebrew, you can also install it with:
    brew install --cask claude-code
    
    In this case, updates are handled by Homebrew itself, with brew upgrade.

For Linux users (and WSL on Windows)

  1. Open the terminal for your distribution, or the WSL terminal if you're on Windows.
  2. Paste the same command as on Mac:
    curl -fsSL https://claude.ai/install.sh | bash
    

For Windows users

Windows has a few extra details, so it has its own section: Claude Code on Windows.

Checking the installation

On any system, close the terminal, open it again, and type:

claude --version

If a version number appears, it worked. If you see an error, go to Common questions or, on Windows, to common Windows errors.

Claude Code on Windows (step by step and common errors)

On Windows you can use Claude Code in two ways: directly on Windows, or inside WSL, which is a Linux environment running within Windows. For beginners, the native option is the simplest.

Step by step in PowerShell

  1. Install Git for Windows if you don't have it yet. Native Claude Code on Windows uses Git Bash, which comes with it. Download it from the official Git website and accept the default options.
  2. Press the Windows key, type "PowerShell," and open Windows PowerShell.
  3. Paste the command and press Enter:
    irm https://claude.ai/install.ps1 | iex
    
  4. Close PowerShell, open it again, and test with claude --version.

Other ways on Windows

Command Prompt (CMD): open it with Windows + R, type cmd, and paste:

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

WinGet: if you use the Windows package manager:

winget install Anthropic.ClaudeCode

With this method, updates are not automatic. You update through WinGet itself.

Common errors on Windows

  • "'claude' is not recognized as an internal or external command." The terminal doesn't know where the program went yet. Close and reopen the terminal. If it still doesn't work, the installer folder (usually %USERPROFILE%\.local\bin) needs to be in your PATH, which is the list of places Windows looks for programs. The installer usually tells you what to do at the end.
  • "The token '&&' is not a valid statement separator." You pasted the CMD command into PowerShell. Use the irm ... | iex command in PowerShell, or open CMD for the command with curl.
  • "'irm' is not recognized." This is the opposite problem: you're in CMD trying to run the PowerShell command. Switch terminals.
  • Error asking for Git or Git Bash. Install Git for Windows (step 1) and reopen the terminal.
  • Installation blocked on a company computer. Antivirus software or IT rules may block scripts. Talk to your company's support team before trying to work around it.

5 new skills a week. 1 minute to read.

The most viewed skills of the week, explained simply. Free.

No spam. Unsubscribe in one click.

No terminal: desktop app and VS Code extension

If the black terminal screen scares you, there are two options with buttons and windows.

Claude desktop app. The Claude app for Windows and Mac lets you use Claude Code with a graphical interface. You choose your project folder and chat in a normal window. It's the closest thing to using the chat on the website. See how to download and set it up in Claude Desktop.

Code editor extension. If you use VS Code, you can install the official Claude Code extension from the editor's extension marketplace. You see the changes to your files side by side, with colors showing what was added and removed. The full guide is in Claude Code in VS Code. There is also integration with VS Code-based editors, such as Cursor.

Which one should you choose? If you just want to try it, start with the desktop app. If you already use VS Code, go with the extension. The terminal is still the option with the most features, and it's what the documentation uses as its base.

How to use Claude Code for the first time

  1. Go to your project folder. In the terminal, use cd with the folder path. Example: cd Documents/my-site. If you don't have a project yet, create an empty folder and go into it.
  2. Start Claude Code. Type:
    claude
    
  3. Log in. The first time, your browser opens and asks you to sign in to your account. Authorize it and return to the terminal.
  4. Talk to it. Write what you want, in plain language:
    • "Explain what's in this folder."
    • "Create a simple page with my name and a contact form."
    • "Why is this file giving an error?"

Before editing files or running commands, it asks for your permission. Read the request, then accept or decline.

To make Claude Code remember your project's rules from one conversation to the next, use the CLAUDE.md file. If you want a practical project to start with, see how to build a website from scratch with Claude Code.

What are Skills and Connectors (MCP)?

After installing, you'll hear about two ways to boost Claude Code:

  • Skills are folders with instructions that teach a specific task. It's like having a ready recipe in the kitchen: Claude checks it when it needs to. Learn more in Claude Skill.
  • MCP Connectors link Claude to other programs, such as Google Drive, Figma, or a database. The official comparison is a USB-C port for AI. Understand it in What is MCP.
Where it lives How to add it
Skill .claude/skills/ folder in the project or user folder Copy the skill folder there
MCP Connector Project or user configuration claude mcp add command

If you're not sure which one to use, see Skills vs MCP.

Common questions and installation problems

  • "The 'claude' command was not recognized." Close and reopen the terminal. If it still fails, run claude doctor, which diagnoses the installation. On Windows, also see common Windows errors.
  • "I logged in, but it doesn't work." Check that your account has a plan that includes Claude Code. The free app account doesn't work for this. Details in Is Claude Code free?.
  • "Can I install it without the terminal?" Yes. Use the desktop app or the VS Code extension.
  • "How do I update?" Installation with the official command updates itself. If you installed through Homebrew or WinGet, update through them.
  • "Is it safe to run these commands?" They are the commands from the official documentation. As a general rule, only run scripts from the internet when they come from the tool's official site.

Skills that help with this

With Claude Code installed, these skills quickly show what it can do:

Next step: install your first skill

Installing Claude Code is just the beginning. What makes it truly useful are the right skills for your type of work.

  1. Open the Skillpedia skills directory and search for what you do every day: spreadsheets, websites, documents, videos.
  2. Pick a skill and follow the guide How to install skills from GitHub in Claude Code.
  3. Run claude in your project folder and ask for a task that uses the skill.

If you'd rather have Claude find skills for you, connect the free skills MCP server. For ideas on where to start, see the best skills for Claude Code.

Frequently Asked Questions

Is downloading Claude Code free? Downloading and installing it costs nothing. To use it, you need a paid Claude plan or API credits. Prices change, so check the current price on the official website and see the summary in Is Claude Code free?.

What's the best way to install it on Windows? For most people, it's the PowerShell command with Git for Windows installed first. If you already work with Linux, WSL also works well. The step-by-step guide is in the Claude Code on Windows section.

Does Claude Code use up my usage limits? Yes. It uses the same limits as your Claude plan, and large tasks use a lot. See Claude limits by plan and 12 tips to save tokens in Claude Code.

Does it work without internet? No. The AI processing happens on Anthropic's servers, so you need to be online. If you want AI running on your own computer, see best open source and local AI.

Do I need to know how to code to use it? Not to get started. You ask in plain language and it does the work. But understanding the basics helps you review what it delivers. The guide best AI for coding compares options for beginners.

Related reading

Free MCP

Give your AI 15,000+ skills, for free

Plug the Skillpedia MCP into Claude, Cursor, Codex or any AI. Before each task, it finds the right skill on its own.

  1. 01Get your free key
  2. 02Paste one line into your AI
  3. 03Ask for any task

Full guide on this topic: Claude Code: What It Is, What It Does, and How to Start (2026 Guide)

Search skills →

5 new skills a week. 1 minute to read.

The most viewed skills of the week, explained simply. Free.

No spam. Unsubscribe in one click.