The official CLI for the Nirvana Labs REST API.
brew tap nirvana-labs/tap
brew install nirvanago install 'github.com/nirvana-labs/nirvana-cli/cmd/nirvana@latest'go run cmd/nirvana/main.goThe CLI follows a resource-based command structure:
nirvana [resource] [command] [flags]nirvana compute:vms create \
--boot-volume '{size: 100, type: nvme}' \
--cpu-config '{vcpu: 2}' \
--memory-config '{size: 2}' \
--name my-vm \
--os-image-name ubuntu-noble-2025-10-01 \
--public-ip-enabled \
--region us-wdc-1 \
--ssh-key '{public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2}' \
--subnet-id 123e4567-e89b-12d3-a456-426614174000For details about specific commands, use the --help flag.
--debug- Enable debug logging (includes HTTP request/response details)--version,-v- Show the CLI version