Prerequisites
- Node.js 18 or higher
- A Cavos account with an active session (from the Dashboard)
Installation
From Source
Clone and build the CLI from the repository:Verify Installation
Configuration
The Cavos CLI requires a session token exported from your dashboard. There are two ways to provide it:Option 1: Environment Variable (Recommended)
Set theCAVOS_TOKEN environment variable:
[!TIP] Addexport CAVOS_TOKEN="..."to your~/.bashrcor~/.zshrcfor persistence.
Option 2: Import Session File
Import the session token once, and it will be saved locally:Getting a Session Token
- Go to the Cavos Dashboard
- Navigate to Settings → Sessions
- Click “Export Session for CLI”
- Copy the base64 token
- Set it as
CAVOS_TOKENor import it usingcavos session import
[!IMPORTANT] The session token contains your session private key. Never share it publicly or commit it to version control.

