Private VM quickstart
A Private VM is your own machine connected to Retask so sessions can run there — see Private VM sandboxes for the why. This page is just the commands, start to finish in about five minutes.
1. Install the CLI
Section titled “1. Install the CLI”curl -fsSL https://retask.work/install.sh | shirm https://retask.work/install.ps1 | iex2. Create a token
Section titled “2. Create a token”Create a personal access token at app.retask.work/access-tokens.
3. Authenticate
Section titled “3. Authenticate”export NWEB_API_KEY="nweb_pat_..."retask auth login$env:NWEB_API_KEY = "nweb_pat_..."retask auth login4. Create the sandbox
Section titled “4. Create the sandbox”retask sandbox create \ --name "Private VM" \ --type PRIVATE \ --sharing WORKSPACE_EDIT \ --session-init-command 'claude --dangerously-skip-permissions "$SEED_PROMPT"' \ --integration-provider-id githubThe command prints the new sandbox_id — copy it for the next step. Swap the
init command for codex --yolo "$SEED_PROMPT" if you use Codex instead.
5. Connect your machine
Section titled “5. Connect your machine”retask sandbox connect <sandbox-id>That’s it — the machine goes Ready in the app, and stays connected for as
long as the command runs. Press Ctrl-C and it goes offline.
Next steps
Section titled “Next steps”Full details — sharing options, running work on it, what the machine’s owner can see, troubleshooting — are all in Private VM sandboxes.