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
🌐
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 "".

🌐
GitHub
github.com › somersby10ml › win-claude-code
GitHub - somersby10ml/win-claude-code: Claude Code for Windows: No WSL. No Docker. Just code.
Claude Code meets Windows. No more "WSL required" errors, just pure productivity. # Install Claude Code globally npm install -g @anthropic-ai/claude-code --ignore-scripts # Run it npx win-claude-code@latest
Starred by 224 users
Forked by 20 users
Languages   JavaScript
🌐
Smartscope
smartscope.blog › en › generative-ai › claude › claude-code-windows-native-installation
Claude Code Windows Install: No WSL Required (3min PowerShell Setup) - SmartScope
Native Windows Claude Code installation in 3min. No WSL, runs in PowerShell. Auto Node.js/Git setup, clipboard image paste fix. Step-by-step guide 2025.
🌐
Shukebeta
blog.shukebeta.com › 2025 › 06 › 25 › running-claude-code-on-windows-without-wsl
Running Claude Code on Windows Without WSL | Scribbles for my bad memory
Git Bash provides enough Unix-like environment for Claude Code. The SHELL export tells it where to find bash, and NPM_CONFIG_IGNORE_SCRIPTS prevents install script issues. This is a workaround, not official support. Works fine in my vm, let me know if it also works on your machine!
🌐
Medium
muhammadtriwibowo.medium.com › how-to-install-claude-code-using-z-ai-glm-4-6-in-windows-without-wsl-be933023a7f5
How to install and integrate Claude Code with Z.AI GLM 4.6 on Windows (without WSL) | by Muhammad Tri Wibowo | Medium
October 7, 2025 - If you’re a pure Windows user and prefer not to install WSL, this guide is for you. Here’s how to set up and run Claude Code using GLM 4.6 directly on Windows.
🌐
Ctok
ctok.ai › 首页 › windows installation guide for claude code (no wsl)
Windows Installation Guide for Claude Code (No WSL) | Ctok Claude Code Group Subscription - Claude Code, Gemini, Codex
Step-by-step guide to install and run Claude Code on Windows without WSL: Node.js setup, npm installation, GUI environment variables, and first run.
🌐
Reddit
reddit.com › r/claudeai › made claude code work natively on windows
r/ClaudeAI on Reddit: Made Claude Code work natively on Windows
July 7, 2025 -

Just shipped win-claude-code - a wrapper that lets you run Anthropic's Claude Code directly on Windows without WSL.

npm install -g anthropic-ai/claude-code --ignore-scripts
npx win-claude-code@latest

That's it. Works with PowerShell, CMD, Windows Terminal - whatever you prefer.

Built this because I got tired of WSL setup just to use Claude Code. Figured other Windows devs might find it useful too.

GitHub: https://github.com/somersby10ml/win-claude-code

Would love feedback if anyone tries it out! 🚀

Find elsewhere
🌐
Medium
medium.com › @WalterSchaerer › from-zero-to-prompting-setting-up-claude-code-on-your-windows-machine-710a32785bee
From Zero to Prompting: Setting Up Claude Code on Your Windows Machine | by Walter Schärer | Medium
July 18, 2025 - Below is a step-by-step guide to get started on Microsoft Windows (on iOS and Linux Claude Code runs natively, you don’t need the WSL step). To begin, enable WSL by opening your Windows PowerShell (cmd) as administrator and running the command ... ...
🌐
ClaudeLog
claudelog.com › home › faqs › download claude code for windows
Download Claude Code for Windows | ClaudeLog
Download Claude Code for Windows: Native installation via PowerShell or CMD - no WSL2 required. Also supports WSL2 for Linux-based workflows.
🌐
Reddit
reddit.com › r/claudeai › this is how i managed to run claude code on windows with proper ide support
r/ClaudeAI on Reddit: This is how I managed to run Claude Code on Windows with proper IDE support
June 10, 2025 -

Hello,

I was struggling to get Claude Code working on Windows with my .NET projects while maintaining proper IDE support. The core problem is that Claude Code requires WSL to run on Windows. If you copy your project files into a WSL folder, you lose crucial IDE integration.

Here's the correct way to do it without copying your code into a WSL folder (if you weren't already aware, like me!):

  1. Open your favorite IDE and your project.

  2. Open the terminal within your IDE.

  3. Navigate to your project directory (e.g., C:\MyProject).

  4. Type the following command: wsl claude

Enjoy!

🌐
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 ...
🌐
GitHub
github.com › anthropics › claude-code › issues › 151
but how to install on windows · Issue #151 · anthropics/claude-code
February 26, 2025 - but how to install on windows there is video how to install but only on linux https://www.youtube.com/watch?v=-9I8SQfBRTU
Published   Feb 26, 2025
🌐
Arsturn
arsturn.com › blog › claude-code-windows-mac-setup-guide
Guide to Claude Code on Windows (WSL) & Mac (Parallels)
& all its tools, while still being on Windows. It's the best of both worlds. Here's how to build the ultimate Claude-powered dev setup on Windows. ... If you want to keep things simple, you don't even need WSL. Install VS Code: If you haven't already, grab it from the official site.
🌐
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)
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Claude Code Extension for Visual Studio - Visual Studio Marketplace
Extension for Visual Studio - A Visual Studio .NET extension that provides a better interface for Claude Code CLI with support for multi-line prompts and image attachments. Open AI Codex, Cursor Agent and Qwen Code also supported.
🌐
phpFashion
phpfashion.com › en › how-to-install-claude-code-beginners-guide
How to Install Claude Code: A Beginner's Guide » phpFashion
This beginner's guide will walk you through installing Claude Code from scratch. Future articles will cover practical usage, but first we need to get the fundamentals working.
🌐
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 - Developed by Anthropic, this innovative tool understands your entire codebase and accelerates development through natural language interactions. While Claude Code doesn't natively support Windows, this comprehensive guide will show you exactly how to harness its power using Windows Subsystem for Linux (WSL).
🌐
Reddit
reddit.com › r/claudeai › "claude code is not supported on windows." wtf
r/ClaudeAI on Reddit: "Claude Code is not supported on Windows." WTF
April 1, 2025 -

"Claude Code is not supported on Windows."
npm error Claude Code requires macOS or Linux to run properly.

After getting an email from Anthropic today I tried to install Claude Code and got this error.
I was also skeptical that is would spend a lot of tokens. Is this true? Does it not run a PC?

Does anyone have a reliable good IDE I can use to vibe code?

I've tried Windsurf and Cursor with very mixed results. I was hopeful that an MCP might help also but they seem very flaky on PCs. All the demos of them that work are on Macs.

Does anyone have any suggestions.

Thank you.