Skip to content
Docs

vercel sandbox

The vercel sandbox command is the entry point for managing Vercel Sandbox from the Vercel CLI. Subcommands include list, create, config, copy, exec, connect, stop, remove, run, snapshot, snapshots, login, and logout. The full command surface is documented in the Sandbox CLI Reference. This page summarizes the entry point and links to the full reference.

terminal
vercel sandbox [subcommand]

Using vercel sandbox to manage Vercel Sandboxes from the terminal.

terminal
vercel sandbox list

List the running sandboxes in the current project. Add --all to include stopped sandboxes.

terminal
vercel sandbox create --connect

Create a new sandbox and immediately connect to it in the terminal.

For the full list of subcommands, flags, and examples, see the Sandbox CLI Reference. The Sandbox CLI is modeled on the Docker CLI, so commands like vercel sandbox exec, vercel sandbox copy, and vercel sandbox connect follow familiar shapes. Use vercel sandbox stop to stop the current session of a persistent sandbox (the filesystem is snapshotted and can be resumed). To permanently delete a sandbox along with its sessions, use vercel sandbox remove instead. The sandbox's snapshots are kept until they expire or you delete them.

The following global options can be passed when using the vercel sandbox command:

For more information on global options and their usage, refer to the options section.

Last updated August 4, 2026

Was this helpful?

supported.