Install the VB-OS CLI
The VB-OS CLI (vbos) is distributed as an optional extra of the vb-os Python package.
Prerequisites
Section titled “Prerequisites”- Python 3.10 or later
- pip (or any PEP 517-compatible installer)
Install
Section titled “Install”pip install "vb-os[cli]"This installs the core vb-os SDK plus the CLI dependencies:
| Dependency | Purpose |
|---|---|
click>=8.1.0 |
Command-line framework |
keyring>=25.0.0 |
Secure credential storage |
cryptography>=43.0.0 |
Token and credential handling |
tomli_w>=1.0.0 |
TOML config file writing |
The core SDK includes additional dependencies for HTTP communication and response validation.
Verify Installation
Section titled “Verify Installation”vbos --helpYou should see the top-level help output listing all available command groups.
Shell Completions
Section titled “Shell Completions”Generate completion scripts for your shell:
# Bashvbos completions bash >> ~/.bashrc
# Zshvbos completions zsh >> ~/.zshrc
# Fishvbos completions fish > ~/.config/fish/completions/vbos.fishRestart your shell or source the file to enable tab completion.
Configuration File
Section titled “Configuration File”The CLI stores configuration in ~/.vbos/config (TOML format). Profiles are scoped under profile.<name>. Available config keys:
| Key | Description |
|---|---|
default-project |
Default project slug |
default-environment |
Default environment name |
default-org |
Default organization ID |
credential-store |
keychain or file |
api-url |
API base URL (default: https://api.vb-os.org) |
email |
User email |
Set values with:
vbos config set default-project my-projectvbos config get default-projectvbos config listGlobal Options
Section titled “Global Options”Every command accepts these flags:
| Option | Description |
|---|---|
--profile |
Config profile name |
--format |
Output format: json (default) or table |
--cloud |
Force cloud execution mode |
--local |
Force local execution mode |
Next Steps
Section titled “Next Steps”After installation, authenticate with your account.
