Skip to content

Getting Started · windows-wsl

Windows via WSL2 ​

devkit has no native Windows build. On Windows it runs inside WSL2 as a regular Linux install: same binary, same tools, no code changes. Plan 30–60 minutes per machine.

1. Install WSL2 with Ubuntu 24.04 ​

In PowerShell as administrator:

powershell
powershell
wsl --install -d Ubuntu-24.04

Restart Windows, open "Ubuntu 24.04" from the start menu and create your Linux user.

Ubuntu version

The Linux devkit binary needs glibc 2.35, so Ubuntu 22.04 or newer works. 24.04 is the recommended default. Check with lsb_release -a.

2. Base packages ​

Inside Ubuntu:

bash
bash
sudo apt-get update
sudo apt-get install -y git curl tar jq build-essential

Install Node.js LTS (ships npm), for example through nvm:

bash
bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
exec bash
nvm install --lts

3. Coding agent and logins ​

bash
bash
curl -fsSL https://claude.ai/install.sh | bash   # Claude Code
npm install -g @openai/codex                     # optional: Codex
claude                                            # log in once

Set up Git and GitHub inside WSL. Credentials from Windows are not shared.

bash
bash
git config --global user.name  "First Last"
git config --global user.email "you@one-dot.de"
ssh-keygen -t ed25519 && cat ~/.ssh/id_ed25519.pub   # add to GitHub

gh auth login works once the first sync has installed gh (step 4).

4. Install devkit ​

bash
bash
sudo -v   # cache sudo credentials; the tool install below never prompts
curl -fsSL https://devkit.one-dot.io/install.sh | sh

Open a new shell, then check:

bash
bash
devkit status
devkit doctor

devkit sync installs Linux tools via apt-get, npm and SHA-256-verified, pinned GitHub releases; jq, gh, shellcheck, shfmt and rg use releases rather than apt (Prerequisites). It calls sudo -n and never asks for a password, which is why sudo -v runs first. If a later devkit sync reports missing apt tools, run sudo -v and sync again.

5. Work in WSL, not on C: ​

  • Clone repositories into the Linux home (~/Sites/...), not under /mnt/c/.... The Windows drive is slow from WSL and breaks file permissions and symlinks, which devkit relies on.
  • Editor: VS Code with the WSL extension. Run code . inside the repository.
  • Terminal: Windows Terminal with the Ubuntu profile.

Then continue with Quick Start, step 2.

Limits ​

  • macOS-only parts do not exist here: the menu bar and the pen design toolchain.
  • Browser checks (agent-browser) need a Chromium inside WSL; on Windows 11, WSLg displays its windows.
  • Not covered by CI: WSL runs the tested Linux build, but WSL itself is not part of the test matrix. Report problems with /friction-feedback.

Internal docs — onedot-devkit · devkit

devkitdevkit syncdevkit statusdevkit doctordevkit helpInternal docs · ONEDOT digital crew