# doctl を Homebrew, apk, dnf, MacPorts, Nix, pacman, scoop, winget でインストール

doctl のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:doctl
```

## エージェント安全性の回答

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%):

```sh
brew install doctl
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install doctl
```

  証拠: MacPorts ports tree: www/doctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add doctl
```

  証拠: Alpine Linux edge package indexes: doctl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install doctl
```

  証拠: Fedora Rawhide package metadata: doctl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#doctl
```

  証拠: nixpkgs package indexes: pkgs/by-name/do/doctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S doctl
```

  証拠: Arch Linux sync databases: doctl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/doctl
```

  証拠: Scoop official bucket manifest trees: bucket/doctl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id DigitalOcean.Doctl -e
```

  証拠: Windows Package Manager source index: DigitalOcean.Doctl from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:doctl
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.166.0
- **ソース概要:** Command-line tool for DigitalOcean
- **ホームページ:** <https://docs.digitalocean.com/reference/doctl/>
- **リポジトリ:** <https://github.com/digitalocean/doctl>
- **最終更新:** 2026-07-31T17:48:15Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- doctl (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.166.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/digitalocean/doctl>
- <https://raw.githubusercontent.com/digitalocean/doctl/main/README.md>
- <https://api.github.com/repos/digitalocean/doctl>
- <https://github.com/digitalocean/doctl/releases/tag/v1.163.0>
- <https://formulae.brew.sh/api/formula/doctl.json>


## セキュリティノート

doctl に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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

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

## Credential files

- macOS: ~/Library/Application Support/doctl/config.yaml
- Unix: $XDG_CONFIG_HOME/doctl/config.yaml, ~/.config/doctl/config.yaml
## 他のパッケージマネージャ記録

- Nix - doctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/doctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - doctl - 1.166.0-r0: normalized package name match | Alpine Linux edge package indexes: doctl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Official command line interface for the DigitalOcean API | https://github.com/digitalocean/doctl
- apk - doctl-bash-completion - 1.166.0-r0: normalized package name match | Alpine Linux edge package indexes: doctl-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for doctl | https://github.com/digitalocean/doctl
- apk - doctl-fish-completion - 1.166.0-r0: normalized package name match | Alpine Linux edge package indexes: doctl-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for doctl | https://github.com/digitalocean/doctl
- apk - doctl-zsh-completion - 1.166.0-r0: normalized package name match | Alpine Linux edge package indexes: doctl-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for doctl | https://github.com/digitalocean/doctl
- dnf - doctl - 1.164.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: doctl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The official command line interface for the DigitalOcean API | https://github.com/digitalocean/doctl
- pacman - doctl - 1.166.0-1: normalized package name match | Arch Linux sync databases: doctl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The official command line interface for the DigitalOcean API | https://github.com/digitalocean/doctl
- MacPorts - doctl: normalized package name match | MacPorts ports tree: www/doctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/doctl: normalized package name match | Scoop official bucket manifest trees: bucket/doctl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - DigitalOcean.Doctl: normalized package name match | Windows Package Manager source index: DigitalOcean.Doctl from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/doctl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/doctl.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
