Credential access
Reads DigitalOcean tokens, kubeconfig, and environment credentials.
brew
Command-line tool for DigitalOcean. Version 1.163.0 via Homebrew; verified 2026-06-25.
agent safety
doctl controls DigitalOcean resources from local credentials.
Reads DigitalOcean tokens, kubeconfig, and environment credentials.
Can create, delete, and modify droplets, clusters, registries, and apps.
Can deploy apps and push container registry artifacts.
Gate mutating doctl commands and credential access.
Allow read-only listings; require approval for writes, deletes, deploys, and token changes.
install
brew install doctllocal Homebrew formula metadata
sudo port install doctlMacPorts ports tree · www/doctl/Portfile · source: api.github.com
sudo apk add doctlAlpine Linux edge package indexes · doctl · source: dl-cdn.alpinelinux.org
sudo dnf install doctlFedora Rawhide package metadata · doctl · source: dl.fedoraproject.org
nix profile install nixpkgs#doctlnixpkgs package indexes · pkgs/by-name/do/doctl/package.nix · source: api.github.com
sudo pacman -S doctlArch Linux sync databases · doctl · source: geo.mirror.pkgbuild.com
scoop install main/doctlScoop official bucket manifest trees · bucket/doctl.json · source: api.github.com
winget install --id DigitalOcean.Doctl -eWindows Package Manager source index · DigitalOcean.Doctl · source: cdn.winget.microsoft.com
overview
Command-line tool for DigitalOcean
history
doctl is DigitalOcean's official command-line interface for the DigitalOcean API. It is the package-manager-facing form of DigitalOcean cloud automation: a Go binary that exposes account, compute, database, Kubernetes, registry, app, VPC, and billing workflows from a terminal.
DigitalOcean created the public GitHub repository in May 2015. The README identifies doctl as a CLI for the DigitalOcean API and lists a broad command tree covering both early compute primitives and later platform services such as Kubernetes, Apps, databases, monitoring, registries, and VPCs.
doctl has broad package-manager adoption. The official README documents Homebrew on macOS, Snap on supported Linux systems, Arch Linux, Fedora, Nix, Docker Hub images, GitHub release downloads, and source builds. Homebrew analytics show tens of thousands of annual installs, which is high for a provider-specific cloud CLI.
Users authenticate with `doctl auth init`, which stores API tokens and defaults in a YAML config file. The CLI is used both interactively and in scripts, often with JSON output, shell completion, multiple authentication contexts, and resource commands such as droplet listing, domain record creation, registry login, and Kubernetes configuration.
doctl matters to package nerds because it is a well-maintained example of the cloud-provider CLI pattern: a single static Go program, packaged across Homebrew, Linux distros, Snap, Windows managers, Docker images, and GitHub releases, with API authentication and shell ergonomics as first-class concerns.
security posture
No matching local secret-handling manifest was found for doctl. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/Library/Application Support/doctl/config.yaml$XDG_CONFIG_HOME/doctl/config.yaml~/.config/doctl/config.yamlCredential-bearing paths to review before unattended agent runs.
~/Library/Application Support/doctl/config.yaml$XDG_CONFIG_HOME/doctl/config.yaml~/.config/doctl/config.yamlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
doctl | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/digitalocean/doctl
install metadata
| Package key | brew:doctl |
|---|---|
| Version | 1.163.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/doctl |
| Homepage | https://docs.digitalocean.com/reference/doctl/ |
| Repository | https://github.com/digitalocean/doctl |
| Upstream docs | https://docs.digitalocean.com/reference/doctl |
| License | Apache-2.0 |
| Source archive | https://github.com/digitalocean/doctl/archive/refs/tags/v1.163.0.tar.gz |
| Last updated | 2026-06-25T12:48:13Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | doctl |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
doctl
nix profile install nixpkgs#doctldoctl 1.160.1-r0
Official command line interface for the DigitalOcean API
https://github.com/digitalocean/doctl
sudo apk add doctldoctl-bash-completion 1.160.1-r0
Bash completions for doctl
https://github.com/digitalocean/doctl
sudo apk add doctl-bash-completiondoctl-fish-completion 1.160.1-r0
Fish completions for doctl
https://github.com/digitalocean/doctl
sudo apk add doctl-fish-completiondoctl-zsh-completion 1.160.1-r0
Zsh completions for doctl
https://github.com/digitalocean/doctl
sudo apk add doctl-zsh-completiondoctl 1.160.1-1.fc45
The official command line interface for the DigitalOcean API
https://github.com/digitalocean/doctl
sudo dnf install doctldoctl 1.159.0-1
The official command line interface for the DigitalOcean API
https://github.com/digitalocean/doctl
sudo pacman -S doctldoctl
sudo port install doctlmain/doctl
scoop install main/doctlDigitalOcean.Doctl
winget install --id DigitalOcean.Doctl -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.