Skip to content

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.

Terminal window
curl -fsSL https://retask.work/install.sh | sh

Create a personal access token at app.retask.work/access-tokens.

Terminal window
export NWEB_API_KEY="nweb_pat_..."
retask auth login
Terminal window
retask sandbox create \
--name "Private VM" \
--type PRIVATE \
--sharing WORKSPACE_EDIT \
--session-init-command 'claude --dangerously-skip-permissions "$SEED_PROMPT"' \
--integration-provider-id github

The 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.

Terminal window
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.

Full details — sharing options, running work on it, what the machine’s owner can see, troubleshooting — are all in Private VM sandboxes.