All apps/Hetzner Cloud CLI

Hetzner Cloud CLI

hcloud

A command-line interface for managing Hetzner Cloud resources.

Runs as hcloud|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 12 fields

Create and list Hetzner Cloud servers. Boolean-valued flags that take true/false, other resources and other subcommands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui hcloud

hcloud server create

Create a server

Create a server from a type and an image.

Create a serverExample values, fixed in this page — nothing here reaches a terminal
Basic
Server name*
string
Server type*
string
Image*
string
Location
string
SSH keys
string
TasksEach one presets the form for one job
Create a server
nametypeimagelocationssh_key
ParametersOnly these flags are editable in the form
Server name
string
--name
Server type
string
--typecx22
Image
string
--imageubuntu-24.04debian-12
Location
string
--locationfsn1nbg1hel1
SSH keys
string · repeatable
--ssh-key
Firewalls
string · repeatable
--firewall
Networks
string · repeatable
--network
Volumes
string · repeatable
--volume
Cloud-init user data file
path
--user-data-from-file

hcloud server list

List servers

List servers, optionally filtered by label selector or status.

List serversExample values, fixed in this page — nothing here reaches a terminal
Basic
Label selector
string
Status
string
Sort by
string
TasksEach one presets the form for one job
List servers
selectorstatussort
ParametersOnly these flags are editable in the form
Label selector
string
--selector-l
Status
string · repeatable
--statusrunningoff
Sort by
string · repeatable
--sort-s
SourcesEvery flag above is checked against these
help
hcloud server create [options] --name <name> --type <server-type> --image <image> --firewall strings ID or name of Firewall to attach the Server to (can be specified multiple times) --image string Image (ID or name) (required) --label stringToString User-defined labels ('key=value') (can be…
manual

github.com

help
hcloud server list [options] -o, --output stringArray output options: noheader|columns=...|json|yaml -l, --selector string Selector to filter by labels -s, --sort strings Determine the sorting of the result --status strings Only Servers with one of these statuses are displayed
manual

github.com

Before it fills your prompt, Otty checks the installed hcloud against its version. A form that does not match your version is not offered.