← Back to Leaderboard
Ccongmnguyen

congmnguyen/claude-code-wsl2-setup

Modular Claude Code CLI add-ons that bridge WSL2 and the Windows desktop

Engineering Health (Methodology)
A · 83/100
Maintenance Activity
● Updated yesterday
Latest Release
v2.0.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption8/25
Release Cadence20/20
License Clarity20/20
CLI
Total Stars
★ 57
24h Growth
+0
7d Growth
+1
Forks
4

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

congmnguyen/claude-code-wsl2-setup Star History (2026-02-28 - 2026-12-03) ALL-TIME STAR HISTORY (2026-02 – 2026-12) +56 in 278d · avg +0/day 61 31 0 2026-02-28: ★ 12026-03-21: ★ 92026-04-11: ★ 92026-05-02: ★ 122026-05-23: ★ 182026-06-13: ★ 202026-07-04: ★ 212026-07-25: ★ 432026-08-15: ★ 442026-09-05: ★ 492026-09-26: ★ 492026-10-17: ★ 502026-11-03: ★ 532026-11-20: ★ 562026-12-03: ★ 57 ★ 57 2026-02 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

This is a modular integration kit for an existing Claude Code CLI inside WSL2, not a replacement client or an MCP server. Core Claude Code features use settings, hooks, and official LSP plugins. The Windows bridge uses separate mechanisms for each task: clipboard capture via a supervised helper, desktop alerts via a shared script, and browser handoff via BROWSER with an XDG fallback for OAuth CLIs.

A systemd user service keeps wsl-screenshot-cli running and restarts it on exit. Claude Code’s Notification hook and Codex’s top-level notify command both route to the Windows notification script. Figma Desktop MCP is a separate, optional project-scoped integration over mirrored networking. scripts/doctor.sh provides a read-only check of installed scripts, settings, and WSL2 prerequisites.

Key Capabilities & Differentiators

The clipboard flow saves Windows screenshots under /tmp/.wsl-screenshot-cli/ and lets users paste the resulting WSL file path into Claude Code or Codex. Windows balloon alerts cover events such as permission requests and completed work, with alerts suppressed when Windows Terminal is focused. bin/tmux-notify-run runs jobs in detached tmux sessions, preserves logs and exit status, and sends a completion alert.

On the coding side, official LSP plugins and language servers provide definition and reference navigation for TypeScript, Python, Go, and Rust. The statusline displays project directory, Git branch, session name, context-window fill, and color-coded five-hour and seven-day usage. Shift+Enter can be configured to insert a newline in Windows Terminal and VS Code’s integrated terminal, while zsh-managed titles distinguish Claude Code and Codex tabs.

Trade-offs & Limitations

Compared with a stock Claude Code install, this kit solves specific Windows-to-WSL workflow problems at the cost of more settings and processes to maintain. Selective setup is the better default: LSP and the statusline can be adopted without enabling clipboard monitoring or MCP. Check for duplicate screenshot monitors launched from shell startup files or Claude hooks before enabling the systemd service.

Native Ubuntu avoids the Windows-to-WSL interoperability layer, but it does not provide the same Windows desktop workflow. The maintainer now uses Ubuntu with Ghostty and no longer tests this setup daily on WSL2. Linux CI is useful, but it cannot establish that clipboard capture, focus-aware alerts, or browser handoff work on your host. Validate the features you rely on before rolling them out to a team.

Hardware & Deployment Guide

Start with Claude Code installed inside WSL2 and Windows Terminal on the host. Clone the repository and apply the features you want, preserving existing settings. Prerequisites are feature-specific: systemd user services and wsl-screenshot-cli for screenshots, tmux for detached jobs, zsh for managed titles, and mirrored networking for optional Figma Desktop MCP. Some features require Windows-side configuration. The scripts and configuration run locally; they do not deploy a model service.

Run bash scripts/doctor.sh for a read-only check. If a customization interferes with startup or normal behavior, use claude --safe-mode for a clean session and inspect the installation with /doctor, /hooks, or /mcp as appropriate. v2.0.0 narrowed the supported setup and fixed a security issue in the notification script. Linux CI passed, but changes made after September 8, 2026 had not been tested on real WSL2 at release.

Clipboard bridge: A systemd user service supervises wsl-screenshot-cli and saves screenshots under /tmp/.wsl-screenshot-cli/ for path-based pasting into Claude Code or Codex.
Notification routing: Claude Code Notification hooks and Codex’s top-level notify command share a Windows balloon script that suppresses alerts when Windows Terminal has focus.
Code navigation: Official Claude Code LSP plugins pair with language servers for TypeScript, Python, Go, and Rust.
Session visibility: The statusline shows project directory, Git branch, session name, context fill, and color-coded five-hour and seven-day usage.
Detached jobs: bin/tmux-notify-run captures logs and exit status and sends a Windows completion notification.
Verification boundary: v2.0.0 includes a notification-script security fix and passes Linux CI checks; changes after September 8, 2026 had not been run on real WSL2 at release.
Best For

Claude Code users already on WSL2 and Windows Terminal who want to add clipboard, notification, LSP, or statusline features selectively and can validate them on the host.

Skip If

You need a centrally managed rollout with verified Windows behavior, a standalone MCP server, or simply a working Claude Code installation.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLI
git clone https://github.com/congmnguyen/claude-code-wsl2-setup.git
cd claude-code-wsl2-setup
claude

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
claude-code-wsl2-setup ★57+1PythonMITModular Claude Code CLI add-ons that bridge WSL2 and the Windows desktop
rtk88.7k+684RustApache-2.0A local Rust CLI wrapper that trims command output before coding agents read it.
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c
obsidian-skills56.2k+1.7kShellMITAgent Skills plugins for editing Obsidian files and working with vaults

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/congmnguyen/claude-code-wsl2-setup.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

congmnguyen/claude-code-wsl2-setup Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about claude-code-wsl2-setup

Is this an MCP server or a replacement for Claude Code?

No. It configures an existing Claude Code installation through feature-specific settings, hooks, scripts, and terminal configuration. The optional Figma Desktop MCP integration is project-scoped and reaches Figma from WSL2 through mirrored networking; it is not a prerequisite for the other features.

What hardware is needed, and which components keep running?

No local model runtime or dedicated GPU requirement is identified. Runtime overhead depends on what you enable: the screenshot monitor is a persistent systemd user service, language servers add their own processes, and detached jobs require tmux. There are no measured CPU, RAM, or VRAM figures; check resource use on your own machine if it matters.

Can a company use this internally, and does local deployment make the whole stack self-hosted?

The repository is MIT-licensed, so its code can be used and adapted commercially subject to the license terms, including retaining the copyright and permission notice when distributing copies or substantial portions. Running the scripts locally does not self-host Claude Code or Codex, and the MIT license does not cover third-party tools or services.

How does it compare with a stock Claude Code install or native Ubuntu?

Use the official Claude Code setup if you only need the CLI running in WSL. Add this kit selectively if you need Windows clipboard paths, notifications, browser handoff, or a statusline. If your priority is avoiding Windows-to-WSL dependencies altogether, native Ubuntu avoids that boundary, but it is not a drop-in substitute for the Windows integrations.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining congmnguyen/claude-code-wsl2-setup? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature congmnguyen/claude-code-wsl2-setup on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare