CLI Reference
The Brev CLI provides full control over your GPU and CPU instances from the command line. Search for hardware, create instances, connect via shell or editor, and chain commands together with composable pipes.
SSH is fully managed: The CLI automatically handles SSH keys, config files, and IP addresses. Just run ssh my-instance or brev shell my-instance to connect. There is no manual configuration needed.
First Time?
Quick Start
Command Reference
Commands organized by what you want to do:
Getting Started
Search & Create
Managing Instances
Connecting
Organizations
Agent Integration
Detailed Documentation
Installation, authentication, and basic configuration.
Create instances with smart defaults, fallback chains, and startup scripts.
List, start, stop, delete, reset, and refresh commands.
Shell, exec, copy, editor access, and port forwarding.
Find GPU and CPU instance types with powerful filtering and sorting.
Chain commands with pipes for powerful automation.
Additional commands: org, reset, create, secret, invite, copy, status.