CLI Overview
Thecaged CLI is the primary way to create and manage sandboxes from your terminal.
Installation
Authentication
~/.config/caged/config.json.
Alternatively, set the CAGED_API_KEY environment variable:
Configuration
The CLI reads configuration from:- Command-line flags (highest priority)
.caged.yamlin the current directory~/.config/caged/config.json(credentials)- Environment variables (
CAGED_*)
Credentials
Project Config
See Config-as-Code for the full.caged.yaml reference.