Automic VaultAutomic Vault

brew

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

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.

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install hcloud

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install hcloud

MacPorts ports tree · devel/hcloud/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add hcloud

Alpine Linux edge package indexes · hcloud · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install hcloud

Fedora Rawhide package metadata · hcloud · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#hcloud

nixpkgs package indexes · pkgs/by-name/hc/hcloud/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S hcloud

Arch Linux sync databases · hcloud · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install hcloud-cli

openSUSE Tumbleweed package metadata · hcloud-cli · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/hcloud

Scoop official bucket manifest trees · bucket/hcloud.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id HetznerCloud.CLI -e

Windows Package Manager source index · HetznerCloud.CLI · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Command-line interface for Hetzner Cloud

コマンドとエイリアス

  • hcloud

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2017: Hetzner Cloud CLI and Go API repositories created.
  • 2018: hcloud v1.0.0 release published.
  • 2018: Early 1.x releases established the public CLI distribution channel.
  • 2020: v1.21.0 tag appeared in the continuing 1.x series.
  • 2024: CLI configuration-system design work documented the ~/.config/hcloud/cli.toml model later reflected in generated manuals.
  • 2025: Storage Boxes support moved from experimental status to general availability in the CLI release stream.

Related projects

  • hetznercloud/hcloud-go is the official Go library for the same API family.
  • hetznercloud/setup-hcloud installs the CLI in GitHub Actions workflows.
  • The Hetzner Cloud API documentation is the service contract behind the CLI.
  • Terraform and OpenTofu hcloud providers occupy the declarative infrastructure-administration role adjacent to hcloud's imperative shell workflow.

ソース

セキュリティ状態

リスクレベル: orange

infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

インストール挙動

  • 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.

Unix
~/.config/hcloud/cli.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/hcloud/cli.toml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
hcloudcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版1.66.0
マネージャ更新日2026-06-24
ローカルデータOK
上流最新
検出された最新v1.66.0

https://github.com/hetznercloud/cli

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキー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
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 Namehcloud
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%

hcloud

nix profile install nixpkgs#hcloud
  • normalized package name match
  • 一致条件: Hcloud
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/hc/hcloud/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

hcloud 1.62.2-r1

Command-line interface for Hetzner Cloud

https://github.com/hetznercloud/cli

sudo apk add hcloud
  • License: MIT
  • Architecture: x86_64
  • Source Package: hcloud
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Hcloud
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hcloud from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hcloud-bash-completion 1.62.2-r1

Bash completions for hcloud

https://github.com/hetznercloud/cli

sudo apk add hcloud-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: hcloud
  • normalized package name match
  • 一致条件: Hcloud
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hcloud-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hcloud-fish-completion 1.62.2-r1

Fish completions for hcloud

https://github.com/hetznercloud/cli

sudo apk add hcloud-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: hcloud
  • normalized package name match
  • 一致条件: Hcloud
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hcloud-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hcloud-zsh-completion 1.62.2-r1

Zsh completions for hcloud

https://github.com/hetznercloud/cli

sudo apk add hcloud-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: hcloud
  • normalized package name match
  • 一致条件: Hcloud
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hcloud-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

hcloud 1.65.0-1.fc45

A command-line interface for Hetzner Cloud

https://github.com/hetznercloud/cli

sudo dnf install hcloud
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: hcloud
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Hcloud
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: hcloud from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

hcloud 1.65.0-1

CLI for Hetzner Cloud

https://github.com/hetznercloud/cli

sudo pacman -S hcloud
  • License: MIT
  • Architecture: x86_64
  • 1 依存関係
  • 1 提供
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Hcloud
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: hcloud from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

hcloud-cli 1.65.0-1.1

A command-line interface for Hetzner Cloud

https://github.com/hetznercloud/cli

sudo zypper install hcloud-cli
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: hcloud-cli
  • 1 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Hcloud
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: hcloud-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

hcloud

sudo port install hcloud
  • normalized package name match
  • 一致条件: Hcloud
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/hcloud/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/hcloud

scoop install main/hcloud
  • normalized package name match
  • 一致条件: Hcloud
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/hcloud.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

HetznerCloud.CLI

winget install --id HetznerCloud.CLI -e
  • normalized package name match
  • 一致条件: Hcloud
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: HetznerCloud.CLI from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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