doctl is the official DigitalOcean command line interface (CLI).
doctl allows you to interact with the DigitalOcean API via the command line. It supports most functionality found in the control panel. You can create, configure, and destroy DigitalOcean resources like Droplets, Kubernetes clusters, firewalls, load balancers, database clusters, domains, and more.
doctl builds are available for Windows, macOS, and Linux.
doctl is open source software. Find the source code or report issues at the
digitalocean/doctl repository on GitHub.
Find additional tutorials on the DigitalOcean community site:
doctldoes not support the DigitalOcean Spaces API. However, because the Spaces API is S3-compatible, you can use S3-compatible command line tools like
s3cmdto manage Spaces.
Released v1.65.0 of doctl, the official DigitalOcean CLI. This release includes a number of new features:
--haflag was added to the
kubernetes cluster createsub-command to optionally create a cluster configured with a highly-available control plane. This feature is in early availability
kubernetes clustersub-commands now include a “Support Features” field when displaying version options
--disable-lets-encrypt-dns-recordsflag was added to the
compute load-balancer createsub-command to optionally disable automatic DNS record creation for Let’s Encrypt certificates that are added to the load balancer
Released v1.64.0 of doctl, the official DigitalOcean CLI. This release includes support for managing App Platform alerts.
Released v1.63.0 of doctl, the official DigitalOcean CLI. This release includes a number of new features:
database firewallsub-commands now support apps as trusted sources
monitoring alertsub-commands for creating and managing alert policies
--droplet-agentflag was added to the
compute droplet createsub-command to optionally disable installing the agent for the Droplet web console
For more information, see the full release notes.