doctl
official DigitalOcean command-line interface
TLDR
SYNOPSIS
doctl command [subcommand] [options]
DESCRIPTION
doctl is the official command-line interface for DigitalOcean, providing access to all DigitalOcean services including Droplets, Kubernetes, App Platform, Databases, and more.
The tool enables infrastructure automation, CI/CD integration, and scriptable management of DigitalOcean resources. It supports multiple authentication contexts for managing different accounts or teams.
doctl mirrors the DigitalOcean API functionality, allowing complete control over cloud resources from the command line without using the web console.
PARAMETERS
COMMAND
Resource type: compute, kubernetes, apps, databases, etc.auth init
Authenticate with API token.compute droplet ACTION
Manage droplets.kubernetes cluster ACTION
Manage Kubernetes clusters.apps ACTION
Manage App Platform applications.--output FORMAT
Output format: text, json.--context NAME
Use named authentication context.--help
Display help information.
CAVEATS
Requires DigitalOcean account and API token. Actions may incur charges. Some operations are irreversible. Rate limits apply to API requests.
HISTORY
doctl was developed by DigitalOcean as the official CLI for their cloud platform. It provides programmatic access to DigitalOcean services, supporting DevOps workflows and infrastructure as code practices.

