nirvana-cli

module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2025 License: Apache-2.0

README

Nirvana Labs CLI

The official CLI for the Nirvana Labs REST API.

Installation

Installing with Homebrew
brew tap nirvana-labs/tap
brew install nirvana
Installing with Go
go install 'github.com/nirvana-labs/nirvana-cli/cmd/nirvana@latest'
Running Locally
go run cmd/nirvana/main.go

Usage

The 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-426614174000

For details about specific commands, use the --help flag.

Global Flags

  • --debug - Enable debug logging (includes HTTP request/response details)
  • --version, -v - Show the CLI version

Directories

Path Synopsis
cmd
nirvana command
internal
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL