Pular para o conteúdo
← Back to Skalablog

Published article

How do you install Claude Code on Windows 11?

Software EngineeringClaude CodeClaudeAnthropic

Install Claude Code on Windows 11 with Git Bash, the official PowerShell command, and a PATH fix, plus how to sign in and start your first session.

Install Claude Code on Windows 11 in six steps

Installing Claude Code on Windows 11 takes six steps: install Git Bash, run Anthropic native PowerShell installer, add the printed binary path to your user PATH, restart PowerShell, sign in with a Pro or Max plan, and launch Claude inside a project folder. Anthropic setup documentation lists native Windows support for PowerShell, the command prompt and Git Bash, which means nothing here depends on WSL.

The video above, published by the KnowledgeBase channel on 20 October 2026, walks through the same sequence without assuming terminal experience. It is accurate in shape, though one instruction in it is now redundant, which the next section covers.

The order matters for one reason: every later step assumes the previous one finished. Git provides the shell that Claude Code's tool calls rely on, and the PATH edit is what lets claude resolve as a command instead of an unknown term.

Step 1: Install Git Bash from git-scm.com

Git Bash comes from Git for Windows, and the default installer options are enough for Claude Code. Download the 64-bit standalone installer, run the wizard, and accept the defaults on every screen until the review page.

On the screen asking how Git should be available from the command line, the transcript keeps the option labelled "Git from the command line and also from third-party software". That selection puts Git on your PATH, which is what the rest of the setup depends on.

Git for Windows ships Git Bash, the terminal that provides the POSIX-style shell environment Claude Code can use on Windows. Uncheck "Launch Git Bash" at the end and click Finish; you do not need to open it now.

Step 2: Get the official PowerShell install command

The install command comes from the current quickstart page, not from a blog or a copied comment. Anthropic quickstart guide presents installation as its first step, and the same command appears in the setup documentation.

Copy the Windows PowerShell variant exactly as printed, including the pipe. The command downloads a native installer and writes the claude binary to a folder under your user profile; the installer prints that location when it finishes.

Do not reuse a command from an older video or screenshot without checking it against the live page. Installer URLs and package names change between releases, and a stale command is the most common reason a first attempt fails.

Step 3: Run the installer in PowerShell

Open PowerShell from the Start menu search, paste the copied command, and press Enter. The native installer is a script, so there is no wizard, no licence dialog and no folder picker; output appears in the window as it works.

The transcript reports a few seconds of setup, then a success message followed by setup notes. Treat those notes as the important part of the output, because they contain the directory the installer used.

If PowerShell blocks the script with an execution policy error, the Microsoft PowerShell documentation explains the policy settings. Fix the policy rather than running a modified command from an unverified source.

Step 4: Add the install path to your PATH

The PATH edit is what turns a finished install into a working command. If the setup notes printed a directory, copy that exact path and add it to your user environment variable, then reopen the terminal so the change is read.

On Windows 11, search for "environment variables" in the Start menu, open the dialog for your account, select Path, choose Edit, then New, and paste the directory. Confirm through the dialogs with OK, and make sure the entry appears in the list before closing.

The transcript copies a path shown in the PowerShell output. In current builds the native installer usually handles PATH itself, so check with claude --version in a new window first; if the command resolves, you can skip the manual edit. If it fails with a command-not-found error, add the path as described.

Step 5: Sign in with a Claude Pro or Max account

Claude Code needs a paid Claude plan, an Anthropic Console account with billing, or credentials from a supported cloud provider. The free Claude tier does not include Claude Code, which matches the transcript's note that you will have to upgrade your account.

Run claude in PowerShell and the first launch offers a theme choice, then an authentication method. Selecting the Claude account option opens a browser window; if the browser does not open, copy the printed URL into any browser and complete the sign-in there.

A terminal agent with file access deserves a careful permission review, so read the prompts rather than clicking through them. Anthropic documents the authentication paths on the same setup page as the installer.

Windows versus WSL versus macOS at a glance

Native Windows support changes the older assumption that Claude Code meant WSL, macOS or Linux. The table below compares the three routes on the dimensions that affect a first install.

RouteShellExtra prerequisitesNotes
Windows nativePowerShell, cmd, Git BashGit for WindowsDocumented on the setup page as of 2026
Windows with WSLLinux shell inside WindowsWSL distribution, Linux Node.js or installerStill supported for Linux tooling
macOS or Linuxbash or zshGit, then the platform installerThe original supported path

Pick native Windows if you work in PowerShell and want the simplest path. Pick WSL if your project's tooling expects Linux binaries. Either way, the Claude command is the same once it resolves.

Open your first project folder and start a session

A Claude Code session should start inside the folder you want it to work on, not in your home directory. Create a project folder, open PowerShell in that folder by holding Shift and right-clicking, then type claude and press Enter.

On the first launch in a new directory, Claude Code asks whether you trust the folder's contents before it reads files. That prompt is a security boundary, so answer it only for directories you created or reviewed.

The transcript ends by asking Claude Code what you want it to do. Start with a small, checkable request, such as summarising the files in the folder or explaining a single script, and read the proposed actions before approving them.

Frequently asked questions

  • Do I need WSL to install Claude Code on Windows 11? No. Anthropic setup page documents native Windows support for PowerShell, the command prompt and Git Bash, so WSL is optional and mainly useful when a project's tooling expects Linux binaries.
  • Which Claude plan do I need for Claude Code? A paid Claude Pro or Max plan works, and the transcript notes that the free tier will require an upgrade. An Anthropic Console account with billing or credentials from a supported cloud provider also works.
  • Why does the Claude command come back as not recognised? The most common cause is a PATH entry that was added after the terminal opened. Reopen PowerShell, run claude --version, and if it still fails, add the directory printed by the installer to your user PATH.
  • Is Git Bash really required? Git for Windows provides the Git installation and the Bash environment Claude Code uses on Windows. Install it before running the Claude Code installer so the first session does not fail on a missing tool.
  • How do I update Claude Code later? Run claude update in PowerShell. The command checks for a newer release and installs it, which is faster than repeating the original install command.

Turning a walkthrough into a written guide

A four-minute walkthrough like this one holds a clear sequence, a handful of pitfalls and a working result, and that sequence is the part readers search for later. The same content becomes far easier to follow when it is written down with headings, checkable steps and links to the official pages, which is where a tool like Skalablog comes in.

If you recorded an explanation of a workflow others keep asking about, you can paste the video's URL into skalablog.com, let it transcribe the audio, and turn the result into a draft article you edit before publishing.

If you also follow TypeScript tooling, the setup ideas in this guide have a counterpart in the stack covered at CrazyStack Typescript.

Source video