Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, scoop, winget 安装 doctl

查看 doctl 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

代理安全

代理安全回答

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.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install doctl

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install doctl

MacPorts ports tree · www/doctl/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add doctl

Alpine Linux edge package indexes · doctl · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install doctl

Fedora Rawhide package metadata · doctl · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#doctl

nixpkgs package indexes · pkgs/by-name/do/doctl/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S doctl

Arch Linux sync databases · doctl · 来源: geo.mirror.pkgbuild.com

Windows

Scoop已验证 · 92%
scoop install main/doctl

Scoop official bucket manifest trees · bucket/doctl.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id DigitalOcean.Doctl -e

Windows Package Manager source index · DigitalOcean.Doctl · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Command-line tool for DigitalOcean

命令和别名

  • doctl

历史

项目历史与用法

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.

时间线

  • 2015: Public GitHub repository created.
  • 2010s: README documents install routes across Homebrew, Snap, distro packages, Docker Hub, and GitHub releases.
  • 2026-06: v1.163.0 published with release assets for macOS, Linux, Windows, checksums, and source.

Related projects

  • doctl is tied to the DigitalOcean API and Control Panel. Its README also documents integration points with kubectl, Docker registry credentials, shell completion, and Docker Hub images.

安全态势

尚未找到受保护工具覆盖

没有找到 doctl 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

macOS
~/Library/Application Support/doctl/config.yaml
Unix
$XDG_CONFIG_HOME/doctl/config.yaml~/.config/doctl/config.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

macOS
~/Library/Application Support/doctl/config.yaml
Unix
$XDG_CONFIG_HOME/doctl/config.yaml~/.config/doctl/config.yaml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
doctlcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.163.0
管理器更新时间2026-06-25
本地数据OK
上游当前
检测到的最新版本v1.163.0

https://github.com/digitalocean/doctl

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedoctl
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

doctl

nix profile install nixpkgs#doctl
  • normalized package name match
  • 匹配方式:Doctl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/do/doctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

doctl 1.160.1-r0

Official command line interface for the DigitalOcean API

https://github.com/digitalocean/doctl

sudo apk add doctl
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: doctl
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Doctl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: doctl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

doctl-bash-completion 1.160.1-r0

Bash completions for doctl

https://github.com/digitalocean/doctl

sudo apk add doctl-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: doctl
  • normalized package name match
  • 匹配方式:Doctl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: doctl-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

doctl-fish-completion 1.160.1-r0

Fish completions for doctl

https://github.com/digitalocean/doctl

sudo apk add doctl-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: doctl
  • normalized package name match
  • 匹配方式:Doctl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: doctl-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

doctl-zsh-completion 1.160.1-r0

Zsh completions for doctl

https://github.com/digitalocean/doctl

sudo apk add doctl-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: doctl
  • normalized package name match
  • 匹配方式:Doctl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: doctl-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

doctl 1.160.1-1.fc45

The official command line interface for the DigitalOcean API

https://github.com/digitalocean/doctl

sudo dnf install doctl
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: doctl
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Doctl
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: doctl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

doctl 1.159.0-1

The official command line interface for the DigitalOcean API

https://github.com/digitalocean/doctl

sudo pacman -S doctl
  • License: Apache-2.0
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Doctl
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: doctl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

doctl

sudo port install doctl
  • normalized package name match
  • 匹配方式:Doctl
MacPorts ports tree · api.github.com · MacPorts ports tree: www/doctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/doctl

scoop install main/doctl
  • normalized package name match
  • 匹配方式:Doctl
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/doctl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

DigitalOcean.Doctl

winget install --id DigitalOcean.Doctl -e
  • normalized package name match
  • 匹配方式:Doctl
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: DigitalOcean.Doctl from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment