Documentation Index
Fetch the complete documentation index at: https://mintlify.com/NVIDIA/OpenShell/llms.txt
Use this file to discover all available pages before exploring further.
openshell sandbox
Alias:sb
Manage sandbox lifecycle — create, connect to, list, delete, and inspect sandboxes.
openshell sandbox create
Create a new sandbox. If no gateway is active, a local gateway is bootstrapped automatically.Command to run inside the sandbox after it is ready. Defaults to an interactive shell when omitted. Everything after
-- is passed verbatim to the container.Sandbox name. Auto-generated when omitted.
Sandbox source. Accepts:
- A community sandbox name (e.g.,
openclaw) — resolved toghcr.io/nvidia/openshell-community/sandboxes/<name>:latest. - A path to a local Dockerfile or directory containing one — the image is built and pushed automatically.
- A full container image reference (e.g.,
myregistry.com/img:tag).
OPENSHELL_COMMUNITY_REGISTRY.Request GPU resources. Auto-bootstraps a GPU-enabled gateway if none is active. GPU intent is also inferred automatically for community images with
gpu in the name.Provider name to attach to this sandbox. Repeatable:
--provider openai --provider anthropic.Path to a custom sandbox policy YAML file. Overrides the built-in default and the
OPENSHELL_SANDBOX_POLICY env var.Upload local files into the sandbox before the command runs. Format:
<LOCAL_PATH>[:<SANDBOX_PATH>]. When SANDBOX_PATH is omitted, files land in /sandbox. .gitignore rules are applied by default.Disable
.gitignore filtering for --upload. Uploads all files, including those matched by .gitignore.Forward a local port to the sandbox before the command starts. Format:
[bind_address:]port (e.g., 8080 or 0.0.0.0:8080). Keeps the sandbox alive.Launch a remote editor after the sandbox is ready. Valid values:
vscode, cursor. Keeps the sandbox alive and installs the OpenShell-managed SSH config entry.Delete the sandbox after the initial command or shell exits. Conflicts with
--editor and --forward.Force pseudo-terminal allocation for the remote command, even when auto-detection would skip it.
Disable pseudo-terminal allocation.
SSH destination for remote bootstrap (e.g.,
user@hostname). Only used when no gateway exists yet; ignored if a gateway is already active.Path to SSH private key for remote bootstrap.
Never auto-bootstrap a gateway. Errors immediately if no gateway is available.
Auto-create missing providers from local environment credentials without prompting.
Never auto-create providers. Errors if required providers are missing.
Examples
openshell sandbox connect
SSH into a running sandbox. When no name is given, reconnects to the last-used sandbox.Sandbox name. Defaults to the last-used sandbox.
Open a remote editor instead of an interactive shell. Valid values:
vscode, cursor. Installs the OpenShell-managed SSH config entry if needed.Examples
openshell sandbox list
List sandboxes on the active gateway.Maximum number of sandboxes to return.
Offset into the sandbox list for pagination.
Print only sandbox IDs, one per line. Conflicts with
--names.Print only sandbox names, one per line. Conflicts with
--ids.Examples
openshell sandbox get
Fetch details for a single sandbox.Sandbox name. Defaults to the last-used sandbox.
openshell sandbox delete
Delete one or more sandboxes by name.One or more sandbox names to delete. Required unless
--all is set.Delete all sandboxes. Conflicts with positional
NAME arguments.Examples
openshell sandbox upload
Upload local files to a sandbox.Sandbox name.
Local file or directory to upload.
Destination path in the sandbox. Defaults to
/sandbox.Upload everything, ignoring
.gitignore rules.openshell sandbox download
Download files from a sandbox to the local machine.Sandbox name.
Path inside the sandbox to download.
Local destination. Defaults to
..openshell sandbox ssh-config
Print an SSHHost block suitable for appending to ~/.ssh/config. Enables tools like VSCode Remote-SSH to connect to the sandbox by name.
Sandbox name. Defaults to the last-used sandbox.
openshell forward
Alias:fwd
Manage port forwarding to a sandbox. Useful for exposing a web server, database, or any service running inside the sandbox to your local machine.
openshell forward start
Forward a local port to a running sandbox.Port to forward. Format:
[bind_address:]port (e.g., 8080 or 0.0.0.0:8080).Sandbox name. Defaults to the last-used sandbox.
Run the forward in the background and exit immediately.
openshell forward stop
Stop a background port forward.Port that was forwarded.
Sandbox name. Auto-detected from active forwards if omitted.
openshell forward list
List all active port forwards.openshell logs
Alias:lg
View logs from a sandbox. Combines gateway and sandbox log sources.
Sandbox name. Defaults to the last-used sandbox.
Number of log lines to return.
Stream live logs (follow mode).
Show only logs from this duration ago. Accepts Go-style durations:
5m, 1h, 30s.Filter by log source. Valid values:
gateway, sandbox, all. Repeatable for multiple sources: --source gateway --source sandbox.Minimum log level to display. Valid values:
error, warn, info, debug, trace. Defaults to showing all levels.Examples
openshell term
Launch the OpenShell interactive TUI — a real-time, keyboard-driven dashboard for gateways, sandboxes, and providers.Color theme. Valid values:
auto, dark, light. auto detects the terminal background. Also reads OPENSHELL_THEME.Keyboard shortcuts
| Key | Action |
|---|---|
Tab / Shift+Tab | Cycle focus between panels |
j / ↓ | Move cursor down |
k / ↑ | Move cursor up |
h / l / ← / → | Switch tabs within a panel |
Enter | Select / open detail |
c | Open create form (providers panel) |
u | Open update form (providers panel) |
d | Delete selected item |
: | Enter command mode |
q | Quit |
Ctrl+C | Force quit |
openshell term requires an active gateway. Run openshell gateway start first if you have not deployed one.openshell settings
Manage per-sandbox and gateway-global settings key/value pairs.openshell settings get
Show effective settings for a sandbox or the gateway-global scope.Sandbox name. Defaults to the last-used sandbox.
Show gateway-global settings instead of sandbox-level settings.
Output settings as JSON.
openshell settings set
Set a single setting key for a sandbox or gateway-global scope.Sandbox name. Defaults to the last-used sandbox.
Setting key.
Setting value. Bool keys accept
true/false/yes/no/1/0.Apply at gateway-global scope.
Skip the confirmation prompt for global setting updates.
openshell settings delete
Delete a setting key.Sandbox name. Defaults to the last-used sandbox.
Setting key to delete.
Delete at gateway-global scope.
Skip the confirmation prompt.