← Back to tools
View AGENTS.md for Vultr CLI
Vultr CLI
Manage Vultr cloud infrastructure from the command line
Description
Vultr CLI is the official command-line tool for managing Vultr cloud infrastructure. It provides access to all Vultr API features including instances, Kubernetes, databases, object storage, DNS, and networking from the terminal.
Install
homebrew
brew install vultr-cliAI Summary
Official Vultr CLI for managing cloud instances, Kubernetes clusters, databases, object storage, DNS, and networking from the terminal.
Capabilities
- + Create and manage cloud compute instances
- + Manage Vultr Kubernetes Engine (VKE) clusters
- + Provision managed databases (MySQL, PostgreSQL, Redis)
- + Manage DNS domains and records
- + Handle snapshots, backups, and ISO management
- + Manage object storage and block storage
Use When
- → Managing Vultr cloud resources from the terminal
- → Scripting Vultr infrastructure provisioning
- → Need quick instance creation and management without the web UI
- → Automating Vultr operations in deployment scripts
Avoid When
- x Not using Vultr as your cloud provider
- x Need multi-cloud management across providers
- x Want infrastructure as code with state management (use Pulumi or Terraform)
Usage Patterns
Create a compute instance
vultr-cli instance create --region ewr --plan vc2-1c-1gb --os 387 --label my-server Creates a 1 vCPU/1GB instance in New Jersey with Ubuntu
List all instances
vultr-cli instance list Shows all active compute instances with their details
Create a Kubernetes cluster
vultr-cli kubernetes create --region ewr --label my-cluster --version v1.29 --node-pools 'quantity:2,plan:vc2-2c-4gb,label:workers' Creates a Kubernetes cluster with a 2-node worker pool
Input / Output
stdin: Minimal stdin usage; parameters passed as flags
stdout: Resource listings and operation results in table format
stderr: Error messages and API errors
Typical Pipelines
vultr-cli instance list | grep active to find running instances vultr-cli kubernetes get-config CLUSTER_ID > kubeconfig.yaml && export KUBECONFIG=kubeconfig.yaml to fetch and use cluster credentials vultr-cli snapshot create --instance-id ID --description backup to create an instance snapshot