doctl is the official command-line interface for administering DigitalOcean cloud infrastructure and interacting with its API. Written in Go, it enables developers to provision, configure, and remove cloud resources directly from the terminal. Integrated compute management supports Droplets, snapshots, backups, and virtual machine images. Networking commands facilitate firewall configuration, domain management, load balancing, and virtual private cloud administration. Developers can manage Kubernetes clusters, database clusters, and App Platform deployments. Named authentication contexts simplify switching between DigitalOcean accounts and projects. Customizable output formats support scripting and automated infrastructure workflows. doctl supports Windows, macOS, and Linux.
Features
- Comprehensive Droplet provisioning with virtual machine lifecycle management, backups, snapshots, and SSH connectivity
- Integrated networking administration with cloud firewalls, load balancers, DNS records, and virtual private clouds
- Managed Kubernetes cluster configuration with credential retrieval, node pool management, and cluster maintenance
- Cloud database administration with cluster provisioning, configuration updates, and database user management
- App Platform deployment management with application configuration, deployment monitoring, and log inspection
- Reusable authentication contexts with structured output, customizable filtering, and automated infrastructure management