I had to install nodejs :D

sudo apt update
sudo apt install nodejs npm -y

Everything works fine now, you can also install GitHub, it is optional tho.

Answer from Don Feto on Stack Overflow
๐ŸŒ
Claude
code.claude.com โ€บ docs โ€บ en โ€บ setup
Set up Claude Code - Claude Code Docs
Install, authenticate, and start using Claude Code on your development machine. ... Operating Systems: macOS 10.15+, Ubuntu 20.04+/Debian 10+, or Windows 10+ (with WSL 1, WSL 2, or Git for Windows)
๐ŸŒ
Claude
claude.ai โ€บ public โ€บ artifacts โ€บ 8ad38c46-8b37-4f75-99ab-6f695ccac6f4
Complete Guide: Installing Claude Code on Windows 10
Claude Code doesn't work directly on Windows - it needs something called WSL (Windows Subsystem for Linux)
Discussions

Unable to install Claude code in Windows with WSL - Stack Overflow
I installed WSL on my Windows machine to try Claude's code. Everything is fine, but I still get an error. Has anyone faced the same issue? I have Windows 11. I have tested two distributions: Ubuntu... More on stackoverflow.com
๐ŸŒ stackoverflow.com
How to use Claude Code in Vs Code in Windows via WSL
Why is this such a painfully annoying process, I've been at it for hours FFS More on reddit.com
๐ŸŒ r/ClaudeAI
22
50
May 25, 2025
Claude Code is now working natively on Windows โ€” and no oneโ€™s talking about it?! ๐Ÿ˜ณ๐Ÿ”ฅ
Iโ€™ve seen like 5 posts about it, one of which I commented in like 8 hrs ago. More on reddit.com
๐ŸŒ r/ClaudeCode
102
102
July 12, 2025
Claude Code's new native installer is now available!
I can't agree it's more stable until I see the fix for issues with jumping chats over the terminal which exists more than 5 months and affects almost every user lol More on reddit.com
๐ŸŒ r/ClaudeAI
37
86
October 31, 2025
๐ŸŒ
Reddit
reddit.com โ€บ r/claudeai โ€บ install claude code on windows without wsl
r/ClaudeAI on Reddit: Install claude code on windows without WSL
June 16, 2025 -

Step 1: Open cmd

Open cmd as administrator

Step 2: Set NPM configuration, telling npm to ignore executing scripts in packages during installation (e.g., preinstall, postinstall, etc.)

setx NPM_CONFIG_IGNORE_SCRIPTS true

$env:NPM_CONFIG_IGNORE_SCRIPTS = โ€œtrueโ€

Step 3: Configure the SHELL environment variable

setx SHELL "C:\Program Files\Git\bin\bash.exe"

Step 4: Install Claude Code

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

Step 5: Add to Environment Variables

Add this line to your environment variables: C:\Users\y.xie\.npm-global

Step 6: Restart the development environment

Restart CMD or your IDE (e.g., VS Code, IntelliJ IDEA), then log in to your Claude Code account or configure the API directly within the application to start using it.

Supplementary Notes

  • Ensure Git for Windows is installed, with the path being C:\Program Files\Git\bin\bash.exe.

  • If the Git installation path is different, please adjust the SHELL environment variable path accordingly.

  • The path C:\Users\y.xie\.npm-global should also be added based on your actual path.

  • It is recommended to set these variables permanently to avoid having to reconfigure after each restart.

  • Later, if you want to uninstall and revert the changes from Step Two and Step Three, just execute setx NPM_CONFIG_IGNORE_SCRIPTS false and setx SHELL "".

๐ŸŒ
Medium
medium.com โ€บ ai-insights-cobet โ€บ comprehensive-guide-to-setting-up-claude-code-on-windows-using-wsl-d3a3f3b5a128
Comprehensive Guide to Setting Up Claude Code on Windows Using WSL | by azhar | azhar labs | Medium
March 27, 2025 - Setting up Claude Code, Anthropicโ€™s AI-driven coding assistant, on a Windows system involves leveraging the Windows Subsystem for Linux (WSL). This approach ensures compatibility and a seamless development experience. Below is a comprehensive guide to installing and configuring Claude Code ...
๐ŸŒ
Substack
designwithai.substack.com โ€บ p โ€บ how-to-install-claude-code
How to install Claude Code - Design with AI
October 2, 2025 - Guide to installing Claude Code: Simple steps, troubleshooting tips, and solutions if you run into errors.
๐ŸŒ
iTechs Online
itecsonline.com โ€บ post โ€บ how-to-install-claude-code-on-windows
How To Install Claude Code on Windows: Complete Guide 2025 | ITECS Blog
July 30, 2025 - This comprehensive guide walks Windows users through the complete process of installing Claude Code using WSL. It covers system requirements, pre-installation setup, detailed step-by-step instructions, troubleshooting common issues, and best practices for maximizing productivity.
๐ŸŒ
Claude
claude.ai โ€บ public โ€บ artifacts โ€บ 03a4aa0c-67b2-427f-838e-63770900bf1d
Claude Code Installation Guide for Windows 11
Claude Code is Anthropic's official AI-powered coding assistant that runs in your terminal, but it requires Windows Subsystem for Linux (WSL2) to work on Windows 11 - it cannot run natively on Windows. This terminal-based tool integrates directly with your development environment to assist ...
Find elsewhere
๐ŸŒ
ClaudeLog
claudelog.com โ€บ home โ€บ install
Install Claude Code | ClaudeLog
November 11, 2025 - Claude Code now supports native Windows installation via PowerShell or CMD (see Option 1 above).
๐ŸŒ
Bind AI IDE
blog.getbind.co โ€บ 2025 โ€บ 08 โ€บ 26 โ€บ how-to-install-claude-code-cli
How to Install Claude Code CLI โ€“ Bind AI IDE
August 27, 2025 - Before installation, ensure your environment aligns with Claude Codes system requirements. The CLI supports macOS (10.15+), Linux (Ubuntu 20.04+/Debian 10+, Alpine for native builds), and Windows 10+ (via WSL or Git Bash).
๐ŸŒ
Reddit
reddit.com โ€บ r/claudeai โ€บ how to use claude code in vs code in windows via wsl
r/ClaudeAI on Reddit: How to use Claude Code in Vs Code in Windows via WSL
May 25, 2025 -

What a title. Anyways, figured I'd make a quick little guide on how to do this.

Prerequisites:

  • VS Code

  • Git repository (not an actual requirement, just how I did it with my limited bash knowledge)

Steps

1. Open up PowerShell and install WSL with:

cmd
wsl --install

2. Set Ubuntu as default (important!):

cmd
wsl --set-default Ubuntu

3. Open a WSL terminal

Tip: check the upper left dropdown menu in Windows Terminal that will show various terminals available

4. Install Claude Code in the WSL terminal (if you have issues, please refer to Anthropic's guide):

bash
npx u/anthropic-ai/claude-code

5. Make a directory for your projects:

bash
mkdir coolProjects && cd coolProjects

6. Clone your project (optional):

bash
git clone https://github.com/yourrepo.git

7. Open VS Code

8. Install the official WSL extension

9. Press F1

10. Type "WSL"

IMPORTANT

11. Select "WSL: Connect to WSL using Distro"

Choose Ubuntu.

From here you can now open a folder within VS Code.

How do you know it worked? Check the bottom left corner of VS Code - it should say "WSL: Ubuntu" and your Claude Code extension should be enabled!

Troubleshooting

If you get Alpine Linux errors or "libstdc++ required" messages: This usually happens if you have Docker Desktop installed and it became your default WSL distribution instead of Ubuntu. Run wsl --list --verbose to check, and if docker-desktop-data has an asterisk (*), run wsl --set-default Ubuntu to fix it. That's why step 2 is so important!

Hope this is helpful!

๐ŸŒ
Reddit
reddit.com โ€บ r/claudecode โ€บ claude code is now working natively on windows โ€” and no oneโ€™s talking about it?! ๐Ÿ˜ณ๐Ÿ”ฅ
r/ClaudeCode on Reddit: Claude Code is now working natively on Windows โ€” and no oneโ€™s talking about it?! ๐Ÿ˜ณ๐Ÿ”ฅ
July 12, 2025 -

Wait hold upโ€ฆ

Did Claude just silently drop native Windows support for Claude Code?

I swear I spent hours earlier messing with WSL, Ubuntu, terminal configsโ€ฆ just to get Claude running.

But today? Just booted up the project on Windows like a regular dev โ€” and boom, Claude Code is working straight out of the box. No Linux layer, no weird hacks, no tears.

No announcement. No tweet. No "hey Windows folks, we got you now." Just casually fixing one of the biggest pain points for Windows users like itโ€™s no big deal.

๐Ÿ’ป Windows users, rise up. ๐Ÿ™ Thank you Claude team (Cursor/Anthropic/whoever made this happen). ๐Ÿซก Respect for shipping useful stuff quietly while the rest of AI Twitter argues over prompt engineering.

If you've been holding off on Claude Code because you're on Windows โ€” nowโ€™s the time.

๐ŸŒ
Visual Studio Marketplace
marketplace.visualstudio.com โ€บ items
Claude Code for VS Code - Visual Studio Marketplace
Extension for Visual Studio Code - Claude Code for VS Code: Harness the power of Claude Code without leaving your IDE
๐ŸŒ
phpFashion
phpfashion.com โ€บ en โ€บ how-to-install-claude-code-beginners-guide
How to Install Claude Code: A Beginner's Guide ยป phpFashion
You might encounter permission-related errors during installation. Important: Do not attempt to resolve these by using sudo โ€“ instead, consult the official troubleshooting guide. Claude Code must be launched from the directory where you want to create a new project or modify an existing one.
๐ŸŒ
Z
docs.z.ai โ€บ devpack โ€บ tool โ€บ claude
Claude Code - Z.AI DEVELOPER DOCUMENT
If you are not familiar with npm but have Cursor, you can enter the command in Cursor, and Cursor will guide you through the installation of Claude Code. ... Note: If you encounter permission issues during installation, try using sudo (MacOS/Linux) or running the command prompt as an administrator (Windows) to re-execute the installation command.
๐ŸŒ
Medium
medium.com โ€บ @lvalics_37568 โ€บ setting-up-claude-code-on-windows-macos-449eed161e10
Setting up Claude Code on Windows & macOS | by Valics Lehel | Medium
June 20, 2025 - Sign in with Claude Pro ($20/mo) or Claude Max ($100/mo), or paste an Anthropic Console API key. Tip: keep Windows-side Git for GUI apps like GitHub Desktop, but run Claude Code inside WSL so paths and permissions stay Linux-friendly.