gb list
List all your Genbox environments.
Synopsis
gb list [options]
gb ls [options]Description
Shows all environments associated with your account, including their status, age, and configuration.
Options
| Option | Description |
|---|---|
--all | Show all environments (including destroyed) |
--json | Output as JSON |
-q, --quiet | Only show environment names |
Examples
Basic Listing
gb listOutput:
Your Genboxes:
NAME STATUS AGE SIZE APPS
feature-auth running 2h ago medium admin, api
bugfix-login running 1d ago small admin
experiment stopped 3d ago small web
3 environments (2 running, 1 stopped)Quiet Mode
gb list -qOutput:
feature-auth
bugfix-login
experimentJSON Output
gb list --json{
"environments": [
{
"name": "feature-auth",
"status": "running",
"size": "medium",
"apps": ["admin", "api"],
"created_at": "2024-12-24T10:00:00Z",
"urls": {
"admin": "https://admin.feature-auth.genbox.dev",
"api": "https://api.feature-auth.genbox.dev"
}
}
]
}Show All Including Destroyed
gb list --allStatus Values
| Status | Description |
|---|---|
running | Environment is active and accessible |
starting | Environment is being created |
stopping | Environment is being paused |
stopped | Environment is paused (can be resumed) |
destroying | Environment is being deleted |
error | Environment encountered an error |
See Also
gb status- Detailed status of specific environmentgb create- Create new environmentgb destroy- Delete environment
Last updated on