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

How to Install and Configure doctl

Install and configure doctl, the official DigitalOcean command-line client (CLI).

Command Line Interface (CLI) Reference for doctl

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:

Limits

  • doctl supports managing Spaces access keys with doctl 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 like s3cmd to manage the contents of your buckets.

Latest Updates

23 July 2026

25 June 2026

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_pg and advanced_mysql, in the databases commands.

For more information, see the full release notes.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.