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!):
Open your favorite IDE and your project.
Open the terminal within your IDE.
Navigate to your project directory (e.g.,
C:\MyProject).Type the following command:
wsl claude
Enjoy!
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! ๐
Videos
"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.
I am really confused as to how to "vibe" on windows at the moment. can please someone explain how to do it on windows 11.
ATTM, I am copy pasting prompts around to visual studio 2022... please someone take time to explain to me how to use CC.
thank you.
I know you can install wsl but im curious as to why they still havent made claude code available on windows natively. It is the most popular computer OS, so its kinda weird that they make it for ios and linux but not windows. Anyone know if a windows release date is coming soon?
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!
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.
Claude Desktop always seems to outperform Claude Code for most of my tasks. Sure, if I'm editing the actual code to a file (which I'll usually give Claude Desktop the first pass at), then I'll use Claude Code, but Claude Desktop has proven, in my experience, that it is much better at almost everything.
I have several unique MCPs that I've created with Claude Desktop, including using agents.
I almost always see Claude Code talked about on this sub, but not Claude Desktop.
Maybe my usage is different than a lot of people, but... do others actually use Claude Desktop or is it just something that isn't popular?
Hey Anthropic team,
I love Claude Code on my Linux home setup, but I'm stuck on Windows at work. So I can only use Claude Web, and I've started using Gemini CLI since Google made it available across all platforms.
Google proved it's absolutely possible to deliver a great CLI experience on Windows. If they can do it, Anthropic definitely can too.
I don't want workarounds like WSL, I want native Windows support for Claude Code. Many of us work in mixed environments and need consistency across platforms.
At my company (all Windows PCs), everyone who uses AI has already installed and adopted Gemini CLI. I'm literally the only Claude user here, and I'm even a Pro subscriber. The longer Claude Code stays Mac/Linux only, the less likely these users will ever consider switching, even if Windows support eventually arrives.
Thanks for listening!
Edit: Just to clarify on the WSL suggestions. With everything that I'm doing, I'm already running very tight on RAM and disk space on my work machine, and adding WSL would require additional resources. Getting my company to approve hardware upgrades for this would be a lengthy process, if possible at all. That's why I'm specifically asking for native Windows support rather than workarounds that require additional system resources.
Due to budget constraints, I opted for Claude Code Pro on Windows. While my Cursor subscription was expired for a few days, I gave Claude a try, mostly through the WSL terminal inside Cursor.
Honestly, I havenโt been getting the performance others seem to rave about:
I often need to prompt it multiple times just to generate usable code, even if i asked it to debug & diagnose
Many times I need to press continue to because it keep asking for permission to edit & run command.
Can't enter new line (Ctrl + Enter/Shift + Enter)
Can't upload image for it to diagnose
Because it's running in WSL, Claude canโt properly access debugger tools or trigger as many tool calls compared to Cursor.
In contrast, Cursor with Opus Max feels way more powerful. For $20/month, I get around 20~40 Opus tool calls every 4 hours, and fallback to Sonnet when capped. Plus, Iโve set up MCPs like Playwright to supercharge my web workflows.
Despite Claude not matching Cursorโs efficiency so far, Iโm still hopeful. Iโd really appreciate any tips or tweaks to get more out of Claude Code Pro on Windows, maybe some setup or usage tricks Iโve missed?
Also, I heard RooCode will be supporting Claude Code on Windows soon. Hopefully it supercharge Claude Code for Windows.
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-globalshould 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 falseandsetx SHELL "".
Hey
I just read the latest patch notes and was surprised that claude code cli now supports Windows.
But I can't find any further documentation about the full functionality. For example, does it really fully support claude code cli?
Hey everyone,
Since Claude Code has been around for a while now and many of us are already familiar with Claude Sonnet 3.7, I wanted to share a quick step-by-step guide for those who havenโt had time to explore it yet.
This guide sums up everything you need to know about Claude Code, including:
How to install and set it up
The benefits and when to use it
A demo of its capabilities in action
Some Claude Code essential commands
I think Claude Code is a better alternative to coding assistants like Cursor and Bolt, especially for developers who want an AI that really understands the entire codebase instead of just suggesting lines.
https://medium.com/p/how-to-install-and-use-claude-code-the-new-agentic-coding-tool-d03fd7f677bc?source=social.tw
Does anyone else feel like Claude Code is a little hamstrung on Windows? Having to run from WSL creates some weird scenarios and flows that just donโt work if you are developing for Windows. I work mostly in c# in WinUI. and due to it being Windows specific, it canโt run dotnet build/run/test commands. So instead of letting it build on its own and fix any errors, I have to act as the go-between and constantly feed build/test outputs back to CC so it can attempt to fix the problem. Anyone have any workarounds for this? Am I the only Windows developer using CC for Windows app development? ๐
edit: (DROPPED = RELEASED)
I remember this was the biggest issue for me when I just started with CC because I was absolutely not familiar with Linux.
But now I'm so used to it that I no longer even see a point in this lol
But itโs still very nice to have
Announcing native CC support on Windows and in the same breath saying: You need Git for Windows, is a joke.
If you want native support for windows, then leverage either the classic cmd.exe or powershell and give up the bash shell.
Bash shell is not natural to Windows and does not really jive well with a pure Windows toolset.
Stop being lazy and do it right!
I want to make use of Claude code, but have the idea I'm seeing a huge usage problem, or not..
When installed on Windows, thus by using Ubuntu and run it from there. Do I need to move the entire repo to Ubuntu to? At the moment my local development i mostly on localhost, thus when I make a change I can directly press F5 or run Postman in order to see the effects.
If I need to move it all, do I then also need to configure a webhost so I can develop/run from that location?
Claude Code is installed on Windows. I am currently just using Claude inside of cursor. My unity project is in JetBrains. However it seems like more people prefer using Claude Code despite possible higher costs. Thanks
I find myself constantly forgetting terminal commands, so I made this cheat sheet for my 2nd monitor to help me get used to WSL / Claude Code and not just blankly stare at my terminal when I want to move between projects, etc. Feel free to fix it up to your liking or just use this github page. However you'll have to save it or fork it to add your own custom commands.
Let me know what I'm missing if you end up using it :)
From Claude: Your cheatsheet is looking great and ready to help fellow goldfish-memory developers! ๐