Why is this such a painfully annoying process, I've been at it for hours FFS Answer from Deleted User on reddit.com
🌐
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)
🌐
Medium
jewelhuq.medium.com › install-wsl-claude-code-on-windows-complete-guide-2025-873bd4a29478
Install WSL & Claude Code on Windows — Complete Guide 2025 | by Md Mazaharul Huq | Medium
July 23, 2025 - Step-by-step tutorial to enable WSL on Windows, isolate Node.js with NVM, install Anthropic’s Claude Code CLI, and start coding with AI in your terminal.
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 run claude code on a windows 365 wsl ubuntu instance
how to run claude code on a windows 365 wsl ubuntu instance, I get network error and cloudflare seems to be blocking me in the claude desktop app? claude console works in the browser but does require "im human" but the console and api can't… More on learn.microsoft.com
🌐 learn.microsoft.com
0
June 12, 2025
[BUG] Claude Code freeze in WSL
Environment Platform (select one): Anthropic API AWS Bedrock Google Vertex AI [ X] Other: Claude Code Claude CLI version: Operating System: Windows 11, WSL 2 Terminal: Ubuntu WSL Bug Description He... More on github.com
🌐 github.com
3
May 24, 2025
MCP Server, Claude Code and WSL | Figma Forum
Figma MCP Server currently only binds to 127.0.0.1 which makes it unable to listen on any other interface. WSL creates a virtual interface, to which the MCP Server must be able to listen, or Claude Code cannot connect to the MCP Server. Long story short, you need to make the MCP Server ... More on forum.figma.com
🌐 forum.figma.com
July 5, 2025
🌐
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!

🌐
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.
🌐
iTechs Online
itecsonline.com › post › how-to-install-claude-code-on-windows
How To Install Claude Code on Windows: Complete Guide 2025 | Blog // ITECS
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 ...
🌐
Claude
claude.ai › public › artifacts › 03a4aa0c-67b2-427f-838e-63770900bf1d
Claude Code Installation Guide for Windows 11
Claude Code is built as a command-line tool designed for Unix-like operating systems (Linux and macOS). While Windows is an excellent operating system, it handles certain technical aspects differently than Linux - things like file permissions, process management, and system calls.
Find elsewhere
🌐
JHB Software
jhb.software › articles › setup claude code inside cursor with wsl on windows
Setup Claude Code Inside Cursor with WSL on Windows - JHB Software Articles
June 22, 2025 - Learn how to install and integrate Claude Code with Cursor using WSL on Windows. This step-by-step guide covers everything from setup to full IDE integration for optimal AI-assisted development performance.
🌐
DEV Community
dev.to › charmpic › how-to-make-claude-code-create-executables-for-ubuntu-and-windows-in-a-wsl-environment-5d1a
How to Make Claude Code Create Executables for Ubuntu and Windows in a WSL Environment - DEV Community
July 4, 2025 - Getting Claude Code to generate an Ubuntu executable in WSL is surprisingly straightforward. If Claude hits an error, just open a separate terminal, install the required packages, and tell Claude you did.
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 2283512 › how-to-run-claude-code-on-a-windows-365-wsl-ubuntu
how to run claude code on a windows 365 wsl ubuntu instance - Microsoft Q&A
June 12, 2025 - how to run claude code on a windows 365 wsl ubuntu instance, I get network error and cloudflare seems to be blocking me in the claude desktop app? claude console works in the browser but does require "im human" but the console and api can't…
🌐
Anthropic
docs.anthropic.com › en › docs › claude-code › getting-started
Getting started with Claude Code
Learn how to get started with the Claude Developer Platform and Claude Code.
🌐
ClaudeLog
claudelog.com › home › install
ClaudeLog - Claude Code Docs, Guides, Tutorials & Best Practices
November 11, 2025 - Claude Code now supports native Windows installation via PowerShell or CMD (see Option 1 above). This provides the best experience for Windows users with: ... # In Windows: %USERPROFILE%\.wslconfig [wsl2] memory=8GB # Limit WSL2 memory usage processors=4 # Limit CPU cores swap=2GB # Set swap size localhostForwarding=true
🌐
GitHub
github.com › anthropics › claude-code › issues › 4077
[BUG] Claude Code freeze in WSL · Issue #4077 · anthropics/claude-code
May 24, 2025 - I am using Windows 11 with WSL2. I installed claude code as instruction, and now if I type
Published   Jul 21, 2025
🌐
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)
🌐
Claude
claude.ai › public › artifacts › d5297b60-4c2c-4378-879b-31cc75abdc98
Complete Claude Code Installation Guide for Windows | Claude
Install Claude Code on Windows with WSL2 - complete step-by-step guide with troubleshooting. Built with Claude AI at claude.ai
🌐
GitHub
github.com › somersby10ml › win-claude-code
GitHub - somersby10ml/win-claude-code: Claude Code for Windows: No WSL. No Docker. Just code.
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