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.62.0 of doctl, the official DigitalOcean CLI. This release fixes a handful of bugs and introduces new flags on existing commands:
apps logscommand now supports tailing live logs with the
--tailflag. This lets application owners select the most recent logs from their applications
--waitflag was added to
apps updateto block these commands until an application is fully created or updated
Released v1.60.0 of doctl, the official DigitalOcean CLI. This release introduces an
auth remove sub-command to simplify removing an auth context when managing multiple accounts. The
databases user reset sub-command now supports resetting the user password for all database engine types.
Released v1.59.0 of doctl, the official DigitalOcean CLI. This release includes a new
apps propose sub-command and improvements to the
apps spec validate sub-command.
For more information, see the full release notes.