Getting Started
Authenticate with Namespace
Create a Devbox
devbox create provisions a Devbox and activates it, so it is ready to connect to when the command returns. Supply its configuration interactively or as flags.- Interactive
- Non-interactive
The CLI prompts for a name, an image, and a machine size:
--checkout clones a repository into the Devbox and requires a connected GitHub organization. Omitting it applies the workspace default repository, and --no_checkout skips the checkout entirely.See devbox create for the full set of options, including Blueprints, ephemeral Devboxes, and specification files.Connect to your Devbox
devbox ssh opens an interactive shell inside the Devbox. The connection is tunneled through the Namespace API, so no public IP address or open port is involved.Connecting to a stopped Devbox starts it first, and your files persist across stop and start cycles.
- Interactive
- Non-interactive
Omit the name and the CLI lists your Devboxes so you can pick one:
ls to see the cloned files:Open an IDE
Open the Devbox in a local editor:See IDEs for JetBrains, and Remote Development for using your own SSH config.
Run a command without a shell
devbox exec runs a single command in the Devbox and streams the output back to your terminal:
Devbox CLI reference
Every command, flag, and option is documented in the reference, starting with installation and updates.devbox create
Images, sizes, Blueprints, and specification files.
devbox ssh
Interactive sessions, remote commands, and agent forwarding.
devbox exec
Detached executions and retrieving their logs.
Set this up with a coding agent
Namespace publishes Devbox agent skills innamespacelabs/agent-skills. A skill is an instruction pack that gives a coding agent a repeatable workflow for Devboxes: installing the CLI, logging in, creating and hydrating them, running commands, and tearing them down.
Hand your agent the prompt below. It installs the skill, then follows it. You will need to complete the login in your browser when the agent reaches that step.
Agent Prompt
Next steps
Remote Development
SSH access and SSH config for a Devbox.
Devbox Lifecycle
Listing, starting, stopping, idleness, and deleting.
IDEs
Open a Devbox in VS Code, Cursor, JetBrains, or Zed.