> ## Content Index
> Fetch the complete content index at: https://www.christos.studio/llms.txt
> Use this file to discover other available public pages before exploring further.

# Install Claude Code ✺ Ready in 15 minutes, even without a developer background
- URL: https://www.christos.studio/en/install-claude-code/
- Published: 2026-03-24T09:31:43.000Z
- Updated: 2026-11-25T11:53:15.000Z
- Description: How to install Claude Code on Mac, Windows and Linux: requirements, the one command, the PATH fix for command not found, and your first fifteen minutes.
- Author: Christos Stavrou
- Tags: #en, #Weg Alltag

To install Claude Code, you run one command in a terminal: on macOS, Linux and WSL it is **curl -fsSL https://claude.ai/install.sh | bash**, on Windows in PowerShell it is **irm https://claude.ai/install.ps1 | iex**. Your computer needs macOS 13 or later, Windows 10 version 1809 or later, Ubuntu 20.04+, Debian 10+ or Alpine 3.19+, plus 4 GB of RAM, and you need a paid Claude plan, starting with Pro at $20 a month ([Anthropic setup docs](https://code.claude.com/docs/en/setup?ref=christos.studio), November 2026). Node.js is no longer required. Afterwards, **claude --version** in a new terminal window shows whether it worked.

## My Claude Code lives somewhere else

You probably have a terminal open in another window right now, and maybe the command is already pasted in. Most of us paste first and read later. I do it too, and the next sections are for the moment the terminal answers with something you didn't expect.

I work with Claude Code every day, and the setup in this guide is not the one I use. My sessions run in the cloud, in an isolated environment that Anthropic starts fresh for every session. Nothing to install. Sounds comfortable, and most of the time it is.

Most of the time. The cloud has its own stumbling blocks. There's no Safari in there, so I check my pages on my iPhone. YouTube blocks the cloud, so transcripts came in through my own browser. And Claude Code's security check stopped a design tool from landing in my project for good, twice, even after I had said yes. Now every session installs it fresh. Annoying? A little. I still think that protection layer is right, and I'd rather plan the detour than switch it off.

Those are exactly the spots where your own computer gets interesting. That's where your browser, your folders and your programs live. So, the obvious question first.

## What do you need to install Claude Code?

You need a reasonably current computer, an internet connection and a paid Claude account. According to Anthropic's [setup docs](https://code.claude.com/docs/en/setup?ref=christos.studio), in detail:

- **Operating system:** macOS 13 or later, Windows 10 version 1809 or later, Windows Server 2019, Ubuntu 20.04 or later, Debian 10 or later, Alpine Linux 3.19 or later.
- **Hardware:** at least 4 GB of RAM and an x64 or ARM64 processor, so Macs with Apple chips work.
- **Account:** Pro, Max, Ultra, Team or Enterprise, or a Claude Console account billed per use. The Free plan doesn't include Claude Code.
- **Location:** a country where Anthropic offers Claude.
- **On Windows, optional:** Git for Windows. Without it, Claude Code runs commands through PowerShell. With it, Claude Code can also use Bash.

The smallest plan that works is Pro at $20 a month, or $17 a month billed annually, before tax. Chat and Claude Code share the same usage limits, and what that means day to day is in my overview of [Claude pricing](https://www.christos.studio/en/claude-pricing/).

Pro costs $17 to $20 a month. Whether that pays off for your task, the compass tells you, with the price.

[Set your AI Compass](https://www.christos.studio/en/ai-compass/)

Before you open a terminal, there's a simpler way. If you only want to try it, the Code tab in the [Claude desktop app](https://www.christos.studio/en/claude-desktop-app/) runs Claude Code with no terminal at all. The terminal pays off once you want Claude Code in your own folders, with your own tools, in any window. What Claude Code actually is and how it differs from the chat, I explained in [What is Claude Code?](https://www.christos.studio/en/what-is-claude-code/).

## How to install Claude Code, step by step

The install takes a few minutes, and most of that is waiting. On a Mac it's four steps:

1. **Open Terminal:** press Command and Space, type "Terminal", press Enter. A window with a blinking cursor appears.
2. **Paste the command:** copy curl -fsSL https://claude.ai/install.sh | bash, paste it with Command and V, press Enter.
3. **Wait:** the installer shows no progress while it downloads. Leave the window open until it reports that Claude Code was installed.
4. **New window, quick test:** open a new terminal window and type claude --version. If a version number appears, Claude Code is there.

On Windows the flow is the same, only the window has a different name. Press the Windows key and X, then pick Windows PowerShell or Terminal. You can tell you're in the right place by the start of the line: PowerShell shows "PS C:\\Users\\YourName>", the older Command Prompt shows the same thing without the "PS". Paste irm https://claude.ai/install.ps1 | iex with Ctrl and V or a right click, press Enter, wait, open a new window, type claude --version. You don't need admin rights. If you'd rather stay in the Command Prompt, Anthropic now has a separate command for it in the [setup docs](https://code.claude.com/docs/en/setup?ref=christos.studio).

| What you do   | macOS                                           | Windows                                  |
| ------------- | ----------------------------------------------- | ---------------------------------------- |
| Open a window | Command + Space, "Terminal"                     | Windows key + X, "Windows PowerShell"    |
| Install       | curl -fsSL https://claude.ai/install.sh \| bash | irm https://claude.ai/install.ps1 \| iex |
| Check         | new window, claude --version                    | new window, claude --version             |
| Installed to  | \~/.local/bin/claude                            | %USERPROFILE%\\.local\\bin\\claude.exe   |
| Start         | claude in your project folder                   | claude in your project folder            |
| Update        | automatic, right away with claude update        | automatic, right away with claude update |
| Extra         | nothing                                         | Git for Windows, optional                |

On Linux you use the same command as on the Mac. If you prefer your package manager, Anthropic runs signed repositories for apt, dnf and apk. On a Mac, Homebrew works too with brew install --cask claude-code, and on Windows WinGet with winget install Anthropic.ClaudeCode. Both have a catch that's easy to miss: they don't update themselves unless you switch that on. The Homebrew cask also follows a stable channel that is usually about a week behind. Anthropic's own command updates in the background. Frankly, I'd stick with that one, unless your IT department says otherwise.

## Why does it say command not found?

Usually because your terminal doesn't know where Claude Code was put. This is where most guides stop and many installs get stuck. The installer says it worked. You type claude. And the terminal answers "command not found: claude", or on Windows that the command isn't recognized.

Nothing is broken. Claude Code is on your disk, your terminal just isn't looking in the folder the installer used. The list of folders your terminal searches for programs is called PATH. The installer even notices and writes under "Setup notes" what to do, but it doesn't change PATH itself ([Anthropic troubleshooting](https://code.claude.com/docs/en/troubleshoot-install?ref=christos.studio)). If you looked away at that point, and I suspect most of us did, all you see is the error.

On a Mac, two lines fix it. First echo 'export PATH="$HOME/.local/bin:$PATH"' >> \~/.zshrc, then source \~/.zshrc. After that, a new window and claude --version once more. For Windows, Anthropic gives two PowerShell lines that add the folder to your user PATH, listed in the [troubleshooting guide](https://code.claude.com/docs/en/troubleshoot-install?ref=christos.studio). Then close PowerShell and open it again.

This error bugs me more than it should, because I know the pattern from other tools. On my website [wenighair](https://wenighair.de/?ref=christos.studio), Cloudflare once never built one of my uploads. No error message, status normal, the site simply kept showing the old version. Since then, a small script compares after every upload what I pushed with what the site actually delivers.

> What an installer reports is a statement. Only the next command shows whether it holds.

For the install, that next command is claude --version. If you want more detail, type claude doctor. It checks the installation and your settings without starting a session and tells you what to fix. The same lesson applies in a company: if you roll Claude Code out to a team, check on a real machine that it runs, and don't trust the green tick of your software deployment tool.

Anthropic lists a few more errors that come up often. All of them look worse than they are:

- **"irm is not recognized":** you're in the old Command Prompt, not PowerShell. Open PowerShell, or use the Command Prompt version of the command.
- **"syntax error near unexpected token" or a chunk of HTML:** a web page came back instead of the installer. If it says "App unavailable in region", Claude Code isn't offered in your country. Otherwise try again, and on a company network think of an IT filter.
- **"does not support 32-bit Windows" on a 64-bit machine:** you opened Windows PowerShell (x86). Pick the entry without "(x86)" in the Start menu.

## What will you build once it runs?

I write down what I build with Claude Code, what I cut again and where I look closely as the human in charge. Without the jargon, promise.

Email me 

Almost done. Check your inbox and confirm the link. 

## The first fifteen minutes

For a start, create a folder where nothing important lives, say "claude-test" on your desktop. In the terminal, go into it with cd and the folder name and type claude. On the first start your browser opens, you sign in with your plan, and then Claude Code is ready in the terminal. From there you simply write what you want, in normal sentences.

A few moves help more than any list of commands. You can't click in the terminal, you move with the arrow keys. Esc stops Claude when it heads in the wrong direction. /help shows all commands, and exit gets you out again. And when Claude asks whether it may create or change a file, read what it plans before you press Enter.

A lesson that once cost me a whole usage window: start with one session. On my site lemonaky.com, Claude once started six build runs at the same time. The five-hour usage limit was gone afterwards, and five of the six runs broke off. For the next round Claude set the limit itself: three at once at most, each with a written build plan instead of a copy of the whole conversation. The limit held. Six cooks, one stove. You could have guessed that without AI.

For a first task, I'd pick something I can check right away. A tiny web page that says hello. A list of the files in the folder with one sentence on each. Or the question of what you would need for a small tool of your own, without Claude building anything yet. The main thing, and this may be the most important sentence in this section, is that the result is small enough to look at in a minute. How to phrase a task like that is in [What is a prompt?](https://www.christos.studio/en/what-is-a-prompt/).

[What is a prompt? With examples from real workFive parts of a good prompt, five weak prompts made better, and the colleague test that shows what your prompt is missing.![](https://storage.ghost.io/c/f5/b8/f5b8f91e-d38d-4761-a59e-7441574fdcc2/content/images/icon/studio-christos-icon-black-7487f3f3-3799-4b5d-82e8-4cc79eb3d8c1.png)Studio ✺ ChristosChristos Stavrou![](https://images.unsplash.com/photo-1589830640509-17507c2b6cd0?ixid=M3wxMTIyNTM5fDB8MXxzZWFyY2h8Mnx8cGFwZXIlMjBwbGFuZSUyMG1pbmltYWwlMjBjb2xvcnxlbnwwfDB8fHwxNzk0OTQxNTcyfDA&ixlib=rb-4.1.0&w=600&q=80&fm=jpg&fit=crop)](https://www.christos.studio/en/what-is-a-prompt/)

## Local or in the cloud

So, do you need it on your own machine at all, now that Claude Code also runs in the browser? I think it comes down to one question: where does the thing you work on live? If your project is on GitHub anyway and the work should keep going when you close your laptop, the cloud is comfortable. That's how I work. If your files live on your computer, or you need your own browser or programs that only run there to check results, installing is the shorter way. And you don't need a GitHub account for that.

Installing doesn't make Claude Code safer, by the way, and it doesn't make you faster either. On your own machine Claude Code works with your permissions, in your folders. That's why it asks before changes, and why the test folder comes first and not the folder with ten years of family photos. What happens when the test turns into something real, I wrote down using my own website in [Vibe coding with Claude](https://www.christos.studio/en/vibe-coding-website/).

And if you ever want to get rid of Claude Code, that's just as quick. On a Mac, two lines remove the program and its versions: rm -f \~/.local/bin/claude and rm -rf \~/.local/share/claude. The PowerShell lines for Windows are in the same setup docs. Your settings live in the .claude folder in your home directory and stay until you delete it yourself.

So my Claude Code keeps living in the cloud, with Safari on the iPhone and transcripts through the detour. This guide doesn't change that. The way onto my own machine is still one line long, plus two for PATH if the terminal acts up. Good to know for the evening the next cloud block stops me.

  
Studio ✺ Christos

## Is it running for you?

I share what works for me with Claude Code, where it gets stuck and which shortcut didn't pay off in the end.

Send it to me 

Almost done. Check your inbox and confirm the link. 

## Frequently asked questions

#### Where does Claude Code get installed?

Anthropic's installer puts Claude Code in \~/.local/bin/claude on macOS and Linux, with the versions in \~/.local/share/claude. On Windows it goes to %USERPROFILE%\\.local\\bin\\claude.exe. Your settings are stored in the .claude folder in your home directory.

#### Do I need Node.js for Claude Code?

No. With Anthropic's own installer you don't need Node.js. Only an install through npm requires Node.js 22 or later, and Anthropic recommends the native installer instead.

#### Can I install Claude Code on Windows without WSL?

Yes. Claude Code runs natively on Windows 10 version 1809 or later and Windows 11, installed from PowerShell or the Command Prompt without admin rights. WSL is an option if you prefer Linux tools: install inside WSL with the Linux command.

#### Is Claude Code free to install?

Installing is free, but using it needs a paid plan: Pro, Max, Ultra, Team or Enterprise, or a Claude Console account billed per use. Pro costs $20 a month, or $17 a month billed annually, before tax.

#### How do I update Claude Code?

If you used Anthropic's install command, updates arrive automatically in the background, and claude update installs one right away. With Homebrew or WinGet you update yourself with brew upgrade claude-code or winget upgrade Anthropic.ClaudeCode.