Windows Support
Run Kandev on Windows through native and WSL workflows.
Kandev runs on Windows through WSL (Windows Subsystem for Linux).
Prerequisites
- Windows 10 (version 2004+) or Windows 11
- WSL 2 with a Linux distribution installed (Ubuntu recommended)
Setup
1. Install WSL
From PowerShell (as Administrator):
wsl --installRestart your machine if prompted, then open your Linux distribution from the Start menu.
2. Install system dependencies
sudo apt update
sudo apt install build-essential libatomic1 gitbuild-essentialprovidesgcc, required bygo-sqlite3(CGO)libatomic1is required by Node.js
3. Install mise (runtime manager)
curl https://mise.run | shAdd mise to your shell profile:
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
source ~/.bashrc4. Install runtimes
mise use -g node
mise use -g pnpm
mise use -g go5. Clone and install
git clone https://github.com/kdlbs/kandev.git kandev
cd kandev
make install6. Run
make dev # development mode
make start # production modeTroubleshooting
libatomic.so.1: cannot open shared object file
Node.js requires libatomic1. Install it:
sudo apt install libatomic1pnpm: command not found
Ensure pnpm is installed and activated via mise:
mise use -g pnpmBinary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo
The SQLite driver needs a C compiler. Install build-essential:
sudo apt install build-essentialBrowser doesn't auto-open
WSL interop must be enabled so the CLI can launch your Windows browser. Ensure /etc/wsl.conf contains:
[interop]
enabled=true
appendWindowsPath=trueThen restart WSL from PowerShell:
wsl --shutdowncd: can't cd to apps during make install
The Makefile cannot find the repository's apps/ directory. Run the command
from the root of a complete Kandev checkout:
cd /path/to/kandev
test -d apps
make installIf test -d apps fails, check that you cloned the repository above and did not
run make -f /path/to/kandev/Makefile install from another directory. A missing
pnpm installation produces pnpm: command not found instead.