Set up your workspace
The workspace is a container image with all shared tooling baked in. On Windows it runs as a WSL distro — your host just runs it. Follow the steps below.
Open PowerShell as Administrator
Right-click the Start menu → Terminal (Admin) or Windows PowerShell (Admin). The WSL2 install fails without it.
Generate a token
Create a personal access token (scopes
repo, read:packages), then click Configure SSO and authorize the ProbablyMonsters org.Set your token powershell
Replace the placeholder with the token you just generated:
powershell$env:GITHUB_TOKEN = "<PASTE-YOUR-TOKEN-HERE>"
Run the bootstrap powershell
powershelliwr -UseBasicParsing -Headers @{Authorization="token $env:GITHUB_TOKEN"} ` https://raw.githubusercontent.com/ProbablyMonsters/platform-env/main/packages/host-bootstrap/bootstrap.ps1 | iexInstalls WSL2 if needed, downloads the workspace image, imports it as a
pm-workspacedistro, and persists your token inside.Enter the workspace powershell
powershellwsl -d pm-workspace
Clone & init the repos WSL
pm-workspaceclone-repos
Clones platform-env, platform-infra, nakama-service, pm-nakama-modules and runs
bun run initin each. Pass names to clone a subset.
Onboarding — Linux / macOS (aspirational, untested)
bash
export GITHUB_TOKEN="<PASTE-YOUR-TOKEN-HERE>" curl -fsSL -H "Authorization: token $GITHUB_TOKEN" \ https://raw.githubusercontent.com/ProbablyMonsters/platform-env/main/packages/host-bootstrap/bootstrap.sh | bash