Getting Started
Sign up, start your trial, install the CLI, and open a terminal in your first sandbox
Six steps take you from no account to a terminal in a sandbox. Do them in this order: a new org can't create sandboxes until it has a plan or a trial.
1. Sign up
Create an account at console.remotehost.ai/signup. Signing up creates your org and its first project, and the console asks you to name them.
2. Start your 7-day trial
Open Billing in the console, choose Pro, Max, or Ultra, and select Start free trial (Business has no trial). Checkout runs on Stripe and asks for a card. You aren't charged for the 7 days, and you can cancel any time before the trial ends. If you don't cancel, the plan you chose starts and your card is charged its monthly price, plus any usage past its included machine hours if you turn overage on. There is no free tier. See Pricing & Billing for what each plan includes.
Until the trial starts, every sandbox create is refused with 402 and the code
plan_required: "Start a plan or trial in Billing to create sandboxes."
3. Create an API key
Open API keys in the console and select New key. The key is shown once, so store it
straight away. It's the credential for everything that isn't you at a terminal: the
TypeScript SDK, CI, and agents. They read it from REMOTEHOST_API_KEY (the SDK)
or REMOTEHOST_TOKEN (the CLI).
export REMOTEHOST_API_KEY=rh_sk_...You can also mint keys from the CLI once it's installed, with
remote keys create.
4. Install the CLI
curl -fsSL https://remotehost.ai/install | shirm https://remotehost.ai/install.ps1 | iexOn macOS and Linux the script downloads the remote program for your machine, checks it against
its published checksum, and puts it in ~/.remotehost/bin. Nothing has to be installed first:
no Node.js, no package manager. If that directory is not on your PATH, the script prints the
line that adds it. Set REMOTEHOST_VERSION to install a particular version or tag (beta, say),
and REMOTEHOST_INSTALL_DIR to install somewhere else.
The CLI is also on npm, which needs Node.js 22 or newer. The Windows script installs it this way:
npm i -g @remotehost/cliEither way you get the remote command, with rh as a shorter alias for the same binary. This
guide is written for CLI 1.0.0 or newer. Check your version with remote --version, and
upgrade with remote update.
5. Log in
remote loginThis runs the OAuth device flow. The CLI prints a short code, opens the verification page in your browser if it can, and waits for you to confirm:
your code: WDJB-MJHT
opening your browser:
https://console.remotehost.ai/device?user_code=WDJB-MJHT
no browser here? open that link on any device.Approval happens in a browser, not through a callback to this terminal. So an SSH session on a machine with no browser signs in just like a laptop: open the link on any device.
The session is stored in ~/.config/remotehost/config.json. Access tokens last an hour and
refresh automatically, so you log in once per machine. In CI or an agent, skip the prompt by
setting REMOTEHOST_TOKEN to an API key from step 3.
6. Create a sandbox and open a terminal
remote newremote new creates a sandbox in your project and prints its row: name, status and size. The
first time, it also generates an ed25519 keypair at ~/.config/remotehost/id_ed25519 and reuses
it for every sandbox after that. Sandboxes trust the key that created them, not a shared operator
key. If you belong to more than one org, pass --org <org>. If your org has more than one
project, pass --project <project>. remote claude and remote codex do the same as
remote new claude and remote new codex.
New sandboxes run on QEMU by default. To run one on Firecracker instead:
remote new --vmm firecrackerOpen a terminal in it by name. The name is in the row remote new printed, and in remote ls:
remote attach <name>This is a real terminal: every key, Ctrl+C and Ctrl+D included, goes to the sandbox.
Ctrl+G detaches you and leaves the sandbox's session running. Attach again
later and it shows recent output, so you see where things got to.
Manage your sandboxes
remote ls # list your sandboxes
remote ssh <name> # open a shell over SSH
remote sleep <name> # snapshot it and stop billing
remote wake <name> # wake it where you left off
remote rm <name> # remove it for goodRun remote with no arguments to open the interactive TUI. It lists your orgs, projects,
sandboxes and recent activity, and lets you create a sandbox or attach to one from inside it.
Next steps
- Read Concepts for how orgs, projects and sandboxes relate.
- See the CLI Reference for every command and flag.
- Drive sandboxes from your own code with the TypeScript SDK.
- See Pricing & Billing for how usage is metered.