# hetznercloud/cli

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/hetznercloud-cli).**

1,720 stars · 104 forks · Go · MIT

## Links

- GitHub: https://github.com/hetznercloud/cli
- awesome-repositories: https://awesome-repositories.com/repository/hetznercloud-cli.md

## Topics

`cli` `command-line` `command-line-tool` `commandline-interface` `hcloud` `hetzner` `hetzner-cloud`

## Description

The project is a command-line interface for managing cloud infrastructure resources such as servers, networks, storage volumes, and load balancers. It translates terminal flags and positional arguments into signed HTTP requests targeting remote cloud endpoints, enabling users to provision, configure, and delete cloud infrastructure directly from the terminal without using a web browser interface.

The utility supports multi-account administration by storing user credentials, active profiles, and preferences locally in configuration files, allowing users to switch between different account environments. It also includes dynamic shell completion generation by inspecting the registered command tree, alongside structured output formatting that renders data in tabular and JSON formats based on response schemas.

## Tags

### Software Engineering & Architecture

- [Hetzner Discoverers](https://awesome-repositories.com/f/software-engineering-architecture/cloud-provider-adapters/cloud-asset-discovery-plugins/hetzner-discoverers.md) — Manages Hetzner cloud servers and networks directly from the terminal.

### Development Tools & Productivity

- [Cloud Resource CLI Tools](https://awesome-repositories.com/f/development-tools-productivity/cloud-resource-cli-tools.md) — Provides a terminal interface for inspecting and managing cloud resources. ([source](https://github.com/hetznercloud/cli/tree/main/cmd/hcloud))
- [Command Line Interfaces](https://awesome-repositories.com/f/development-tools-productivity/command-line-interfaces.md) — Implements a dedicated command-line interface for provisioning cloud resources.
- [Shell Completion](https://awesome-repositories.com/f/development-tools-productivity/shell-completion.md) — Generates dynamic auto-completion scripts by inspecting registered commands.
- [Shell Completion Generators](https://awesome-repositories.com/f/development-tools-productivity/shell-completion-generators.md) — Produces shell-specific auto-completion scripts for command-line navigation. ([source](https://github.com/hetznercloud/cli/blob/main/docs/reference/manual/hcloud.md))

### DevOps & Infrastructure

- [Cloud Infrastructure Automation](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure-automation.md) — Provisions, configures, and deletes cloud servers and infrastructure. ([source](https://github.com/hetznercloud/cli/custom-properties))
- [Cloud Infrastructure Management](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure-management.md) — Executes administrative actions on servers, networks, and storage volumes. ([source](https://github.com/hetznercloud/cli/blob/main/docs/reference/manual/hcloud.md))

### Business & Productivity Software

- [Cloud Account Administration](https://awesome-repositories.com/f/business-productivity-software/account-managers/cloud-account-administration.md) — Supports multi-account administration and switching between environments.

### Data & Databases

- [Configuration Persistence](https://awesome-repositories.com/f/data-databases/local-persistence/configuration-persistence.md) — Persists user credentials and profile preferences in local configuration files.

### Security & Cryptography

- [Multi-Account Profiles](https://awesome-repositories.com/f/security-cryptography/file-based-configuration/local-configuration-files/email-account-configurations/multi-account-profiles.md) — Manages multiple account profiles and credentials locally. ([source](https://github.com/hetznercloud/cli/blob/main/docs/reference/manual/hcloud.md))

### User Interface & Experience

- [Table-Based Formatting](https://awesome-repositories.com/f/user-interface-experience/terminal-text-rendering/table-based-formatting.md) — Renders command outputs in structured tabular and JSON formats.
