Getting started
Requires Windows 11, WSL 2 with networkingMode=mirrored, PowerShell 7.4+ and
~\.ssh\id_ed25519.pub.
Install-PSResource WsCreatorws-creator doctor # checks the workstationws-creator list # templates: dev, agent-sandboxws-creator init dev my-machine -Apply # your user, key, a free port and subnetws-creator new my-machine -Apply # the distro, provisioned by cloud-initssh my-machine # or: ws-creator code my-machineWithout -Apply, every command is a dry run.
| Template | For |
|---|---|
dev |
work: sudo, podman, gh, node, python |
agent-sandbox |
an agent: no sudo, no Windows disk |
The machine folder (%APPDATA%\ws-creator\machines\my-machine\) is yours to edit: see
A machine folder.
On the machine, once:
gh auth loginchezmoi init --apply <account> # your dotfiles: git identity, settings