凭据访问
Reads DigitalOcean tokens, kubeconfig, and environment credentials.
代理安全
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.
安装
brew install doctllocal Homebrew formula metadata
sudo port install doctlMacPorts ports tree · www/doctl/Portfile · 来源: api.github.com
sudo apk add doctlAlpine Linux edge package indexes · doctl · 来源: dl-cdn.alpinelinux.org
sudo dnf install doctlFedora Rawhide package metadata · doctl · 来源: dl.fedoraproject.org
nix profile install nixpkgs#doctlnixpkgs package indexes · pkgs/by-name/do/doctl/package.nix · 来源: api.github.com
sudo pacman -S doctlArch Linux sync databases · doctl · 来源: geo.mirror.pkgbuild.com
scoop install main/doctlScoop official bucket manifest trees · bucket/doctl.json · 来源: api.github.com
winget install --id DigitalOcean.Doctl -eWindows Package Manager source index · DigitalOcean.Doctl · 来源: cdn.winget.microsoft.com
概览
Command-line tool for DigitalOcean
历史
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.
安全态势
没有找到 doctl 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
doctl | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/digitalocean/doctl
安装元数据
| 软件包键 | brew:doctl |
|---|---|
| 版本 | 1.163.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/doctl |
| 主页 | https://docs.digitalocean.com/reference/doctl/ |
| 仓库 | https://github.com/digitalocean/doctl |
| 上游文档 | https://docs.digitalocean.com/reference/doctl |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/digitalocean/doctl/archive/refs/tags/v1.163.0.tar.gz |
| 最后更新 | 2026-06-25T12:48:13Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.