Install and configure doctl, the official DigitalOcean command-line client (CLI).
doctl Command Line Interface (CLI)
Last verified 29 Jul 2026
doctl is the official DigitalOcean command line interface (CLI).
Features
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. You can also manage AI resources, like agents and knowledge bases, and run serverless inference requests against hosted models.
Official doctl builds are available for Windows, macOS, and Linux.
Documentation
A complete reference for every command provided by the doctl command line interface (CLI).
Resources
doctl is open source software. Find the source code or report issues at the digitalocean/doctl repository on GitHub.
Find additional tutorials in our documentation and on the DigitalOcean community site:
- How to Work with DigitalOcean Load Balancers Using doctl
- How To Secure Web Server Infrastructure With DigitalOcean Cloud Firewalls Using doctl
- How To Work with DigitalOcean Block Storage Using doctl
Limits
doctlsupports managing Spaces access keys withdoctl spaces keys, but does not support object storage operations, like uploading or downloading files. Because the Spaces API is S3-compatible, you can use S3-compatible command line tools likes3cmdto manage the contents of your buckets.
Latest Updates
23 July 2026
-
Released v1.164.0 of doctl, the official DigitalOcean CLI. This release adds commands for managing Secrets Manager secrets and Network File Storage access points.
25 June 2026
-
Released v1.163.0 of doctl, the official DigitalOcean CLI. This release adds a
vector-databasescommand group for managing vector databases.
16 June 2026
-
Released v1.162.0 of doctl, the official DigitalOcean CLI. This release adds support for the PostgreSQL and MySQL Advanced Edition engines,
advanced_pgandadvanced_mysql, in thedatabasescommands.
For more information, see the full release notes.