認証情報アクセス
Reads Hetzner Cloud tokens, config files, and environment credentials.
brew
hcloud のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
エージェント安全性
hcloud controls Hetzner Cloud resources from local credentials.
Reads Hetzner Cloud tokens, config files, and environment credentials.
Can create, delete, and resize cloud servers, volumes, and networks.
Can deploy infrastructure used by application artifacts.
Gate mutating hcloud commands and token access.
Allow list/describe operations; require approval for writes, deletes, and token changes.
インストール
brew install hcloudlocal Homebrew formula metadata
sudo port install hcloudMacPorts ports tree · devel/hcloud/Portfile · ソース: api.github.com
sudo apk add hcloudAlpine Linux edge package indexes · hcloud · ソース: dl-cdn.alpinelinux.org
sudo dnf install hcloudFedora Rawhide package metadata · hcloud · ソース: dl.fedoraproject.org
nix profile install nixpkgs#hcloudnixpkgs package indexes · pkgs/by-name/hc/hcloud/package.nix · ソース: api.github.com
sudo pacman -S hcloudArch Linux sync databases · hcloud · ソース: geo.mirror.pkgbuild.com
sudo zypper install hcloud-cliopenSUSE Tumbleweed package metadata · hcloud-cli · ソース: download.opensuse.org
scoop install main/hcloudScoop official bucket manifest trees · bucket/hcloud.json · ソース: api.github.com
winget install --id HetznerCloud.CLI -eWindows Package Manager source index · HetznerCloud.CLI · ソース: cdn.winget.microsoft.com
概要
Command-line interface for Hetzner Cloud
履歴
hcloud is Hetzner Cloud's official command-line client. It wraps the Hetzner Cloud API in a scriptable CLI for servers, images, SSH keys, networks, firewalls, load balancers, volumes, primary IPs, locations, storage boxes, DNS zones, and related cloud resources.
Hetzner created the Go API client and CLI repositories in November 2017, then published the hcloud v1.0.0 release in January 2018. The CLI sits directly on the public Hetzner Cloud API, whose documentation describes HTTPS/JSON operations for cloud services and resources.
The project evolved from a compact server-management CLI into the main terminal surface for Hetzner Cloud. Its manual documents global options, context selection, endpoint overrides, debug output, and resource subcommands, while the setup guide documents binary, Go, Debian, RPM, Homebrew, Windows package, and Docker installation paths.
The configuration model grew around contexts: a named context stores an API token and preferences, while flags and environment variables can override config-file values. The documented default Unix config file is ~/.config/hcloud/cli.toml, and the token can also be supplied through HCLOUD_TOKEN for automation.
hcloud adoption follows Hetzner Cloud's appeal to developers and small infrastructure teams that want direct control from shell scripts, CI jobs, and local terminals. The package-manager footprint in the batch input spans Alpine, Homebrew, Fedora, MacPorts, Nix, Arch, Scoop, WinGet, and openSUSE naming, which reflects broad demand for a native client outside the web console.
The companion setup-hcloud GitHub Action shows a second adoption path: CI workflows install the CLI and pass HCLOUD_TOKEN to run resource commands during deployment. That made hcloud part of the same toolchain family as Terraform providers and cloud CLIs for other vendors, but with Hetzner-specific API coverage and output conventions.
A first-time user installs the binary, creates a context with hcloud context create, enters a project API token, and verifies access with a read-only command such as hcloud datacenter list. After that, commands such as hcloud server, hcloud firewall, hcloud network, hcloud ssh-key, and hcloud volume become shell-friendly API operations.
The config command documents the precedence order as flags, environment variables, context configuration, global configuration, and default values. That order is important for packaging and automation because the same installed CLI can be used interactively through cli.toml or non-interactively through HCLOUD_TOKEN and HCLOUD_CONTEXT.
hcloud is the kind of cloud CLI package maintainers like: a single Go binary with completions, man-page-style generated docs, release artifacts for multiple operating systems and architectures, and no daemon. The package is also operationally sensitive because it may read long-lived API tokens from its config file, so package quality and upgrade predictability matter.
For Homebrew users, the significance is practical: hcloud gives macOS and Linux shells first-class access to Hetzner Cloud resources without waiting for a language SDK or a Terraform run. Its existence as an official CLI also gives other tools a stable executable to call.
セキュリティ状態
infrastructure mutation or orchestration signal.
リスク orange · 信頼度 中 · infrastructure
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.
~/.config/hcloud/cli.tomlCredential-bearing paths to review before unattended agent runs.
~/.config/hcloud/cli.toml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
hcloud | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/hetznercloud/cli
インストールメタデータ
| パッケージキー | brew:hcloud |
|---|---|
| バージョン | 1.66.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/hcloud |
| ホームページ | https://github.com/hetznercloud/cli |
| リポジトリ | https://github.com/hetznercloud/cli |
| 上流ドキュメント | https://docs.hetzner.cloud/ |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/hetznercloud/cli/archive/refs/tags/v1.66.0.tar.gz |
| 最終更新 | 2026-06-24T19:02:31Z |
| 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 | hcloud |
| 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 パッケージリンクとは分けて表示されます。
hcloud
nix profile install nixpkgs#hcloudhcloud 1.62.2-r1
Command-line interface for Hetzner Cloud
https://github.com/hetznercloud/cli
sudo apk add hcloudhcloud-bash-completion 1.62.2-r1
Bash completions for hcloud
https://github.com/hetznercloud/cli
sudo apk add hcloud-bash-completionhcloud-fish-completion 1.62.2-r1
Fish completions for hcloud
https://github.com/hetznercloud/cli
sudo apk add hcloud-fish-completionhcloud-zsh-completion 1.62.2-r1
Zsh completions for hcloud
https://github.com/hetznercloud/cli
sudo apk add hcloud-zsh-completionhcloud 1.65.0-1.fc45
A command-line interface for Hetzner Cloud
https://github.com/hetznercloud/cli
sudo dnf install hcloudhcloud 1.65.0-1
CLI for Hetzner Cloud
https://github.com/hetznercloud/cli
sudo pacman -S hcloudhcloud-cli 1.65.0-1.1
A command-line interface for Hetzner Cloud
https://github.com/hetznercloud/cli
sudo zypper install hcloud-clihcloud
sudo port install hcloudmain/hcloud
scoop install main/hcloudHetznerCloud.CLI
winget install --id HetznerCloud.CLI -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.