Geek Challenge: Running Claude Code Natively on Windows XP

A developer is getting Claude Code running natively on Windows XP, with chat and web search already working.
A developer is attempting to port Anthropic's Claude Code to run natively on Windows XP — without SSH or RDP forwarding. Core features like login, chat, and web search are already functional, and the UI now renders properly. The biggest remaining challenge is bash compatibility, which blocks all tool-calling capabilities. Next up: a live demo on a real Dell OptiPlex GX280 from 2004.
An Unconventional Porting Experiment
In an era where AI coding tools are increasingly mainstream, most developers are focused on whether Claude Code runs smoothly on the latest macOS or Ubuntu. One developer, however, has taken the exact opposite approach — getting Anthropic's Claude Code to run natively on Windows XP.
Windows XP was released in October 2001, and Microsoft officially ended mainstream support in April 2014 — over a decade ago. At its peak, XP commanded more than 70% of the global desktop OS market share, making it one of the most successful operating systems of the PC era. However, XP's kernel architecture (based on Windows NT 5.1) carries significant modern limitations: its native network stack doesn't support TLS 1.2 or above (the minimum requirement for accessing virtually all modern APIs), it lacks full support for modern CPU instruction sets, memory addressing is typically capped at 3.25GB (32-bit), and the native command-line environment cmd.exe is fundamentally incompatible with POSIX/bash standards. These architectural constraints form the core obstacles to porting modern software — which makes the progress achieved here all the more impressive.
This twenty-year-old OS, long past its official support window, became the stage for this technical experiment. According to the developer's latest update shared on Reddit, the project is still a work in progress (WIP), but has already hit some meaningful milestones.
It's worth emphasizing: this is not simply forwarding the interface to XP via SSH or RDP. This is genuine native execution. The author is explicit: the Claude Code client is a native Node process running on XP, with no compute offloaded to SSH or RDP — it communicates with Anthropic's API over the network exactly as it would on any other OS.
Claude Code, as an AI coding tool from Anthropic, is built on top of the Node.js runtime. Since its release in 2009, Node.js has become a go-to choice for building cross-platform command-line tools thanks to its event-driven, non-blocking I/O design. In theory, this architecture means that as long as the target system can run a compatible version of the Node.js runtime, the application logic itself should be portable. Reality is more complicated, though — modern Node.js versions (v18+) depend on OS-level TLS libraries, filesystem APIs, and process management mechanisms, all of which have version gaps on Windows XP. The porter needed to find or compile a lower-version Node.js that runs on XP while also ensuring the network stack supports modern HTTPS/TLS 1.2+ protocols, since Anthropic's API endpoints require encrypted transport.

What's Already Working on Claude Code for XP
Based on what the author has shared, this XP build of Claude Code has already achieved several core capabilities:
- Log In: Users can complete the account authentication flow normally
- Chat: Conversational interaction with the Claude model is functional
- Web search: Online search capability works
- UI: The author specifically noted the interface can now display properly — the last attempt "looked like ass," but it now renders quite well
The fact that these features work means users on this XP machine can already get basic conversational coding assistance and information retrieval. For a modern AI tool that was never designed to be compatible with such an old system, this is a significant achievement.
The Biggest Blocker: Bash Compatibility
Of course, the experiment is far from complete. The author is upfront about what still doesn't work, and the most critical obstacle lies in the tool-calling mechanism:
"Any other tools don't work because it calls bash in a way that Windows XP doesn't like."
This is a classic compatibility pain point. What makes Claude Code an "agentic" coding tool is its ability to go beyond conversation and directly execute actions in the user's OS environment — reading and writing files, running shell commands, executing test scripts, calling Git and other version control tools. This capability is deeply dependent on bash (Bourne Again SHell), the command interpreter developed by the GNU project that is ubiquitous in Unix-like systems. Bash is not just a command execution environment — it provides pipelines, redirection, environment variables, process substitution, and a range of other programming primitives that virtually the entire modern DevOps toolchain is built upon. Windows XP has no native bash. While tools like Cygwin and MSYS can provide an emulation layer, these solutions have their own version support issues, path translation mechanisms, and differences from a true Unix environment — which is exactly the next challenge the author faces. Microsoft didn't introduce official bash support until Windows 10 in 2016 via WSL (Windows Subsystem for Linux), a gap that perfectly illustrates XP's fundamental deficiency here.
So tool calling is the next item on the chopping block.
In addition, two login methods are not yet working:
- Platform (API) login
- Azure / Bedrock login
The Platform (API) login, AWS Bedrock, and Azure login paths represent the two primary enterprise distribution channels for Claude. AWS Bedrock is Amazon's managed AI foundation model service, allowing enterprise customers to access models including Claude through AWS's security and compliance framework, with data staying within the customer's AWS region to meet GDPR, HIPAA, and other compliance requirements. Microsoft Azure offers a similar Claude hosting service (via Azure AI Studio) with deep integration into enterprise Active Directory identity systems. The authentication mechanisms for these paths are far more complex than standard account login, involving IAM roles, temporary credentials, regional endpoint routing, and other cloud-native concepts. The underlying libraries these mechanisms depend on (such as the AWS SDK and Azure SDK) have higher requirements for OS modernity, making them among the most difficult parts to port. In short, only the default account login is currently available — enterprise cloud platform access to Claude still needs further work.
Why This Porting Experiment Matters
On the surface, porting an AI coding tool to a long-obsolete OS might look like pure geek self-indulgence. But from a technical perspective, this project surfaces several genuinely interesting observations.
The portability limits of modern Node.js applications: Claude Code is fundamentally a Node process — in theory, as long as the runtime environment and network stack work, it has cross-platform potential. This experiment is essentially probing the question: to what extent can modern software stacks still be made backward compatible with systems from twenty years ago?
The core dependencies of AI agent tools: What makes Claude Code powerful isn't just that it can chat — it's that it can interact deeply with the operating system through tools like bash. Without bash, what remains is essentially a networked chat client. This illustrates that agentic capabilities are far more tightly coupled to the underlying runtime environment than most people assume.
Next Step: Running on Bare Metal
The author's ambitions go further. They've revealed they've ordered a Dell OptiPlex GX280, with plans to demonstrate the system running on bare metal.
The Dell OptiPlex GX280 was released in 2004, equipped with Intel Pentium 4 or Celeron D processors (based on the Prescott architecture, typically clocked between 2.8GHz and 3.4GHz), supporting up to 4GB of DDR2 RAM (practically around 3.25GB usable under 32-bit XP), and using AGP or PCI Express graphics interfaces. This machine was the quintessential enterprise desktop of its era, widely deployed in schools, government offices, and small-to-medium businesses. By modern standards, the GX280's single-core CPU performance is extremely limited — but for a Node process that primarily handles network I/O to interact with Anthropic's cloud API, local compute isn't the bottleneck. The real challenge is software stack compatibility. Choosing the GX280 as the showcase hardware is both a nod to that chapter of PC history and a strong statement of technical authenticity: no virtualization layer overhead, no compatibility shims — everything running directly on twenty-year-old real hardware.
Moving from a virtual machine to genuine old hardware means this project is entering a more hardcore demonstration phase — running a cutting-edge AI coding assistant on a genuinely vintage computer. The visual collision of old and new has its own kind of technical aesthetic: an OS released before smartphones became common, running alongside a large language model coding tool that only recently rose to prominence, coexisting on the same screen — a vivid footnote to what's possible in software engineering.
Conclusion
Experiments like this may have no direct commercial value, but they're precisely the kind of thing that reflects the vitality of the technical community. They remind us that the boundaries of software are often far wider than official support documentation suggests, and they give us a clearer view of the technical makeup and core dependencies of modern AI tools.
As the author promised further updates — especially on progress adapting bash tool calling — how far this challenge of "getting Claude Code to run fully on Windows XP" ultimately goes is well worth watching.
Related articles

The Truth Behind Codex 'Build a Website in 5 Minutes': AI Isn't Creating Sites—It's Helping You Copy Them
Exposing the truth behind viral Codex 5-minute website videos: creators aren't building original sites with AI—they're copying shared prompts or scraping others' work. Learn AI coding tools' real limits.

Getting Started with AI Agent Development: A Complete Guide from Concept to Practice
A comprehensive guide to AI Agent architecture and development, covering automated marketing, intelligent customer service, and investment analysis scenarios with single and multi-agent collaboration.

The Truth Behind Codex 'Build a Website in 5 Minutes': AI Isn't Creating Sites — It's Helping You Copy Them
Exposing the truth behind viral Codex 5-minute website videos: creators aren't building original sites with AI — they're copying shared prompts or scraping others' work.