Skip to content

Windows (WSL2) ​

xcodon runs on Windows inside WSL2 (Windows Subsystem for Linux, version 2). It does not run on native Windows. Its tools need a Linux host: cwltool for CWL toolsets, xcrunner for containers, the terminal tab in the TUI, and run_shell. On native Windows, xcodon prints a short message and stops.

1. Install WSL2 and Ubuntu ​

In PowerShell:

powershell
wsl --install -d Ubuntu

Restart if Windows asks. Then open the Ubuntu app. Everything below runs in the Ubuntu shell.

2. Install xcodon ​

Use the xcodon installer. It supports WSL2. It needs no root access and installs its own Python, so you do not need python3-venv. It needs curl or wget, which Ubuntu has.

Download the latest wheel (xcodon-<version>-py3-none-any.whl) from the GitHub releases page. Run the installer from inside Ubuntu and point it at the wheel:

bash
curl -fsSL https://xcodon.ai/install.sh | bash -s -- --wheel /mnt/c/Users/<you>/Downloads/xcodon-<version>-py3-none-any.whl

Without --wheel, the installer fetches the latest release itself through a logged-in gh or a GITHUB_TOKEN. Then open a new Ubuntu shell and check xcodon --version. The Guide lists all installer options.

The installer adds no desktop launcher on WSL. Start the web UI with xcodon onboard (see section 6).

The release wheel includes the built web UI. A repo checkout (uv pip install -e ".[dev]") also works, but it needs Python 3.12, 3.13 or 3.14, and it builds the UI with npm on first start (see section 6). Ubuntu 24.04 ships Python 3.12.

3. Keep projects on the Linux disk ​

Create projects under your Linux home, for example ~/projects, not under /mnt/c.

  • /mnt/c is your Windows C: drive. File access there is much slower from WSL.
  • File permissions and symlinks follow Windows rules there.

xcodon warns when a project is on a Windows drive. It checks in xcodon init and xcodon run, when xcodon onboard or xcodon serve starts, and when the web workbench creates a project (the warning shows in the terminal).

Windows Terminal often opens Ubuntu in /mnt/c/Users/<you>. Run cd ~ first, or start xcodon with --base ~/projects.

To open a project folder in Windows Explorer, run explorer.exe . from inside it.

4. Choose a container engine ​

Coala tools run in containers. Pick one of these options.

OptionWhat to installNotes
xcrunner (default fallback)Nothing; it installs with xcodonxcodon switches to xcrunner when Docker is not usable. No root and no daemon. It uses user namespaces, which the WSL2 kernel supports, and falls back to PRoot otherwise.
Docker Engine in WSLDocker Engine inside UbuntuFull Docker. Free. Needs systemd in WSL.
Docker DesktopDocker Desktop on Windows, with WSL integration turned on for UbuntuFull Docker. Large organizations need a paid Docker license.

Docker Engine inside Ubuntu ​

Turn on systemd. Add this to /etc/wsl.conf in Ubuntu:

ini
[boot]
systemd=true

Then run wsl --shutdown in PowerShell and reopen Ubuntu. Install Docker:

bash
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker "$USER"

Close and reopen the Ubuntu shell. Check it with docker info.

WSL containers (wslc) ​

WSL now has its own container runtime, wslc.exe. xcodon cannot use it yet:

  • coala-runtime talks to the Docker Engine API, and wslc has none.
  • cwltool calls the docker command, and wslc does not accept every flag cwltool passes.

Microsoft tracks a Docker-compatible endpoint in microsoft/WSL#40976. Until it ships, use one of the options above.

5. Run xcodon ​

bash
cd ~/projects
xcodon init myproject
xcodon run --project myproject

Put API keys in the Ubuntu environment or in a .env file, as on Linux. Windows environment variables do not reach WSL.

6. Use the web workbench ​

bash
cd ~/projects
xcodon onboard
  • Browser. The workbench opens in your Windows browser. xcodon uses wslview when it is installed, and explorer.exe otherwise.
  • Address. The server listens on http://127.0.0.1:8420/. When 8420 is taken in WSL, xcodon uses the next free port and prints it. WSL forwards localhost to Windows, so the same address works in the Windows browser.
  • Uploads. Files you upload in the browser go straight to the project. Paths do not matter.
  • Typed paths. You can type Windows paths into the form, such as C:\Users\me\paper.pdf or a project folder. xcodon turns them into WSL paths, here /mnt/c/Users/me/paper.pdf. Paths such as \\wsl$\Ubuntu\home\me\x.csv become /home/me/x.csv. Data paths are saved in their WSL form.
  • Building the UI. The installer and a wheel install include the built UI, so no Node.js is needed. A repo checkout builds the UI with npm on first start. That needs Node.js installed inside WSL (sudo apt install nodejs npm). xcodon skips the Windows npm that WSL finds on the Windows PATH, because it cannot build on WSL files.

Troubleshooting ​

SymptomFix
xcodon does not run on native WindowsYou ran it in PowerShell or cmd. Open the Ubuntu app and run it there.
Projects are slow, or chmod failsThe project is under /mnt/c. Move it to ~/projects.
Docker is not usable on this host; running Coala containers … on xcrunnerExpected when Docker is not running. Start Docker, or keep xcrunner.
The browser does not openInstall wslu (sudo apt install wslu), or copy the printed URL into your browser.
npm not found on PATH — install Node.js inside WSLOnly a Windows npm was found. Run sudo apt install nodejs npm in Ubuntu, or use the installer with a release wheel.
The browser shows "can't reach this page"Another program on Windows may use port 8420. Start with --port 8421.
localhost does not reach WSL (often with a VPN)Add networkingMode=mirrored under [wsl2] in %UserProfile%\.wslconfig, then run wsl --shutdown. Or start with --host 0.0.0.0 and open the address that hostname -I prints.
A typed path is "Not a file"Check the path in Ubuntu with ls. Network drives (\\server\share) are not translated; copy the file to the Linux disk or upload it.

Released under the PolyForm Noncommercial License 1.0.0.