Desktop CLI Reference
Manage workspaces, attach to terminals, forward ports, and more — all from your local terminal.
Install
Single binary, zero dependencies. Run vibe-anywhere-desktop version to verify.
Authentication
Credentials are stored in ~/.vibe-anywhere/config.json. Use logout to revoke and remove them.
Command Reference
All available commands at a glance.
Global Commands
login --server <url>Authenticate with a Vibe Anywhere serverlogoutRevoke API key and remove stored credentialsworkspacesList all running workspaces and their portsrepositoriesList all repositoriesstatusShow connection statusversionShow CLI versionRepository-Scoped Commands
Use the full path repositories <repo> workspaces <ws> <action> to scope commands to a specific workspace. Repos and workspaces can be matched by name or ID prefix.
... forward [--port N] [--all]Forward ports from workspace to localhost... open <type> [--name N]Create a new tab and attach interactively... claudeOpen a Claude Chat tab (shorthand for open claude)... tabsList terminal tabs in the workspace... tabs <id-or-name>Attach to an existing tab... tabs --new <type>Create a new tab and attach... tabs --supportedShow available tab types for this workspaceTab Management with tabs
List, create, and attach to terminal sessions inside your workspaces.
List tabs
Shows all terminal-capable tabs in the workspace. UI-only tabs (Dashboard, Git, Docker, Claude Chat) are excluded since they cannot be attached to from the CLI.
Attach to an existing tab
Attach by ID prefix, exact name, or partial name match. The resolution order is: exact ID, ID prefix, exact name (case-insensitive), then name substring.
Create a new tab
Creates a new tab and attaches to it immediately. The type is matched against available tab templates. Use --name to set a custom name.
Show supported tab types
Lists tab types you can create, filtered by the workspace's installed tech stacks. For example, the Claude template only appears if the claude tech stack is installed.
Detach with ~ .
Disconnect from a terminal session without killing the remote process.
Like SSH and tmux, the desktop CLI supports escape sequences for detaching from a session. The remote process continues running — reconnect later with tabs <id>.
Escape Sequences
Press Enter first, then type the escape character.
~ .Detach from the tab (remote process keeps running)~ ~Send a literal ~ character~ ?Show escape sequence helpPort Forwarding
Access services running in remote workspaces on your localhost.
Auto-Discovery
The --all flag detects listening ports inside containers and forwards them automatically.
WebSocket Tunnel
Traffic tunnels over the existing WebSocket connection. No SSH, no VPN, no extra firewall rules.
Full Workflow Example
A typical development session from login to detach.