github.com/hetznercloud/cli
v1.67.0
#909 most downloaded on Go modules
hetznercloud/cli
What this package is like to depend on
Last release 26 days ago
29 Jul 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 100 of 103 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
232 releases · first in 2018
49 releases in the last 12 months
see the full history below
Release timeline
232 releases · Jan 2018 to Jul 2026Releases
latest 60 of 232-
v1.67.1-0.20260729092630-22a60bc66a6229 Jul 2026 pre-releaseNothing published for this version
-
v1.67.024 Jul 2026Release notes
Open source →Removed deprecated Datacenter from Server and Primary IP
Removed the deprecated Datacenter property from the Server and Primary IP resources. Since the property was already removed from the Hetzner Cloud API, we do not consider this a breaking change (see changelog entry).
The
hcloud primary-ip create --datacenterandhcloud server create --datacenterflags have been removed in favor of--location. Additionally,hcloud primary-ip describeandhcloud server describewill no longer show the Datacenter property.In place of the
--datacenterflag the--locationflag can be used. The Location name is the first part of the Datacenter name, e.g. the part before-. Example:Before:
$ hcloud server create --datacenter fsn1-dc14 $ hcloud primary-ip create --datacenter hel1-dc2
After:
$ hcloud server create --location fsn1 $ hcloud primary-ip create --location hel1
Features
Bug Fixes
- primary-ip: format IPv6 properly in describe (#1451)
Release notes
Open source →Removed deprecated Datacenter from Server and Primary IP
Removed the deprecated Datacenter property from the Server and Primary IP resources. Since the property was already removed from the Hetzner Cloud API, we do not consider this a breaking change (see changelog entry).
The
hcloud primary-ip create --datacenterandhcloud server create --datacenterflags have been removed in favor of--location. Additionally,hcloud primary-ip describeandhcloud server describewill no longer show the Datacenter property.In place of the
--datacenterflag the--locationflag can be used. The Location name is the first part of the Datacenter name, e.g. the part before-. Example:Before:
$ hcloud server create --datacenter fsn1-dc14 $ hcloud primary-ip create --datacenter hel1-dc2After:
$ hcloud server create --location fsn1 $ hcloud primary-ip create --location hel1Features
- add http-timeout option (#1445)
- remove datacenter property from server and primary_ip (#1460)
Bug Fixes
- primary-ip: format IPv6 properly in describe (#1451)
-
v1.66.1-0.20260724095529-8becfd708d9024 Jul 2026 pre-releaseNothing published for this version
-
v1.66.1-0.20260717113904-95eaa367b9e417 Jul 2026 pre-releaseNothing published for this version
-
v1.66.1-0.20260709141741-6f2fcaed72eb09 Jul 2026 pre-releaseNothing published for this version
-
v1.66.1-0.20260626132849-7a4172d296ba26 Jun 2026 pre-releaseNothing published for this version
-
v1.66.024 Jun 2026Release notes
Open source →Datacenters commands are now deprecated
The
hcloud datacenters listandhcloud datacenters describecommands are now deprecated.The endpoints
GET /v1/datacentersandGET /v1/datacenters/{id}are now deprecated and will be removed after 1 Oct. 2026. After this date, requests to these endpoints will returnHTTP 410 Gone.See the changelog for more details.
Features
- deprecate
hcloud datacenters ...commands (#1436)
Bug Fixes
- cmd: Change tense for deletion of active context (#1412)
Release notes
Open source →Datacenters commands are now deprecated
The
hcloud datacenters listandhcloud datacenters describecommands are now deprecated.The endpoints
GET /v1/datacentersandGET /v1/datacenters/{id}are now deprecated and will be removed after 1 Oct. 2026. After this date, requests to these endpoints will returnHTTP 410 Gone.See the changelog for more details.
Features
- deprecate
hcloud datacenters ...commands (#1436)
Bug Fixes
- cmd: Change tense for deletion of active context (#1412)
- deprecate
-
v1.65.1-0.20260608093919-f37b5fa4c03808 Jun 2026 pre-releaseNothing published for this version
-
v1.65.021 May 2026Release notes
Open source →Load Balancer HTTP Services now support
TimeoutIdleA timeout for HTTP connections can now be set with
--http-timeout-idlewhile creating or updating Load Balancer services.See the changelog for more information.
Features
- load-balancer: support --http-timeout-idle flag (#1394)
Release notes
Open source →Load Balancer HTTP Services now support
TimeoutIdleA timeout for HTTP connections can now be set with
--http-timeout-idlewhile creating or updating Load Balancer services.See the changelog for more information.
Features
- load-balancer: support --http-timeout-idle flag (#1394)
-
v1.64.2-0.20260508093149-b55c08f6a79608 May 2026 pre-releaseNothing published for this version
-
v1.64.128 Apr 2026 -
v1.64.028 Apr 2026Release notes
Open source →Primary IPs
assignee_typebehavior changeWhen creating a Primary IP with the
primary-ipcommand, the--assignee-typeflag will be required together with the--assignee-idflag. Using the default value (server) for the--assignee-typeflag is deprecated. Consider explicitly setting the--assignee-typeflag.As of 1 August 2026, the behavior of the Primary IP
assignee_typeproperty will change, and will returnunassignedwhen the Primary IP is not assigned (whenassignee_idisnull). The goal is to eventually assign Primary IPs to other resource types, not only toserver.See the changelog for more details.
In addition, the Primary IP request body
assignee_typeproperty of the operationPOST /v1/primary_ipsis now optional. Primary IPs created withoutassignee_typereturnserveruntil 1 August 2026, after this date, its value will beunassigned.See the changelog for more details.
Features
- primary-ip:
--assignee-typeis optional when creating a Primary IP (#1395)
Release notes
Open source →Primary IPs
assignee_typebehavior changeWhen creating a Primary IP with the
primary-ipcommand, the--assignee-typeflag will be required together with the--assignee-idflag. Using the default value (server) for the--assignee-typeflag is deprecated. Consider explicitly setting the--assignee-typeflag.As of 1 August 2026, the behavior of the Primary IP
assignee_typeproperty will change, and will returnunassignedwhen the Primary IP is not assigned (whenassignee_idisnull). The goal is to eventually assign Primary IPs to other resource types, not only toserver.See the changelog for more details.
In addition, the Primary IP request body
assignee_typeproperty of the operationPOST /v1/primary_ipsis now optional. Primary IPs created withoutassignee_typereturnserveruntil 1 August 2026, after this date, its value will beunassigned.See the changelog for more details.
Features
- primary-ip:
--assignee-typeis optional when creating a Primary IP (#1395)
- primary-ip:
-
v1.63.024 Apr 2026Release notes
Open source →Available and recommended Server Types have been moved
- The Server Types list in
hcloud datacenter describeis deprecated and will not be displayed anymore after 2026-10-01. The two commands below should be used for this purpose instead. hcloud server-type describenow shows anAvailableandRecommendedvalue for each location.hcloud server-type listnow has additional columnslocation_availableandlocation_recommended.
See the changelog for more details.
Features
- datacenter, server-type: move available and recommended to server_type (#1384)
Release notes
Open source →Available and recommended Server Types have been moved
- The Server Types list in
hcloud datacenter describeis deprecated and will not be displayed anymore after 2026-10-01. The two commands below should be used for this purpose instead. hcloud server-type describenow shows anAvailableandRecommendedvalue for each location.hcloud server-type listnow has additional columnslocation_availableandlocation_recommended.
See the changelog for more details.
Features
- datacenter, server-type: move available and recommended to server_type (#1384)
- The Server Types list in
-
v1.62.207 Apr 2026 -
v1.62.107 Apr 2026Release notes
Open source →Bug Fixes
- server-type: do not print locations that are unavailable (after deprecation) (#1369)
- long version info not displayed correctly in release builds (#1374)
- only generate signature for
checksums.txtrelease asset (#1366)
-
v1.62.1-0.20260326211154-6db0a927fafa26 Mar 2026 pre-releaseNothing published for this version
-
v1.62.020 Mar 2026Release notes
Open source →Features
- build .deb and .rpm release files (#1311)
- primary-ip: new flag to specify assignee-type on primary-ip create (#1348)
- increase default poll interval for long running actions (#1364)
- server-type: add
locationto list table default columns (#1340) - server-type: remove
storage_typefrom list table default columns (#1340) - allow listing contexts as json/yaml (#1352)
- add --long flag to version command (#1353)
Bug Fixes
- suppress trailing spaces in tables (#1355)
Release notes
Open source →Features
- build .deb and .rpm release files (#1311)
- primary-ip: new flag to specify assignee-type on primary-ip create (#1348)
- increase default poll interval for long running actions (#1364)
- server-type: add
locationto list table default columns (#1340) - server-type: remove
storage_typefrom list table default columns (#1340) - allow listing contexts as json/yaml (#1352)
- add --long flag to version command (#1353)
Bug Fixes
- suppress trailing spaces in tables (#1355)
-
v1.61.1-0.20260306111411-9cd54be568cf06 Mar 2026 pre-releaseNothing published for this version
-
v1.61.1-0.20260305140300-cc84d4c2c78905 Mar 2026 pre-releaseNothing published for this version
-
v1.61.023 Jan 2026Release notes
Open source →Storage Boxes support is now generally available
The experimental phase for Storage Boxes is over, and Storage Boxes support is now generally available.
Features
Release notes
Open source →Storage Boxes support is now generally available
The experimental phase for Storage Boxes is over, and Storage Boxes support is now generally available.
Features
- Storage Box support no longer experimental (#1267)
- server: allow specifying user-data for rebuild (#1319)
-
v1.60.016 Jan 2026Release notes
Open source →Storage Box Subaccounts are no longer identified by
usernameStorage Box Subaccounts now have a
nameproperty, allowing users to specify custom names for their Subaccounts.More importantly, Storage Box Subaccounts (
<subaccount>) are now identified byidorname, instead of byidorusername.hcloud storage-box subaccount describe <storage-box> <subaccount> -hcloud storage-box subaccount describe my-storage-box u1337-sub1 +hcloud storage-box subaccount describe my-storage-box my-subaccountExisting Subaccounts have been updated to use their
usernameasnamevalue.See our changelog for more details.
Features
- table: mark columns as deprecated and show warning (#1300)
- server: deprecate datacenter column (#1301)
- storage-box: add name property to subaccounts (#1315)
-
v1.59.1-0.20260109100353-ecb5684bfb6209 Jan 2026 pre-releaseNothing published for this version
-
v1.59.005 Jan 2026Release notes
Open source →Deprecation of
datacenterattribute for Primary IPs and ServersThe
datacenterattribute is deprecated in thePrimary IPsandServersAPI resources and will be removed after 1 July 2026. See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters for more details.The
locationattribute already exists for Servers, and was added for Primary IPs.Therefor the
datacenterattribute is deprecated in favor of thelocationattribute in the following commands:hcloud server createhcloud server describehcloud server listhcloud primary-ip createhcloud primary-ip describehcloud primary-ip list
In list commands, the
datacentercolumns is not longer shown by default, and is replaced with thelocationcolumn.Features
- server,primary-ip: deprecate datacenter (#1278)
-
v1.58.1-0.20251218165519-c7b311d3386118 Dec 2025 pre-releaseNothing published for this version
-
v1.58.018 Dec 2025Release notes
Open source →Features
- firewall: add list columns for labels, created and age (#1239)
- drop builds for windows armv6 and armv7 (32 bit) (#1246)
- context: allow creation in non-interactive tty (#1252)
-
v1.57.1-0.20251114092951-9dcb13dd3d1f14 Nov 2025 pre-releaseNothing published for this version
-
v1.57.1-0.20251112164258-08455af17c5312 Nov 2025 pre-releaseNothing published for this version
-
v1.57.1-0.20251112085851-2a022592da7612 Nov 2025 pre-releaseNothing published for this version
-
v1.57.1-0.20251110164850-79eb2c4033c910 Nov 2025 pre-releaseNothing published for this version
-
v1.57.1-0.20251110113036-206fa53bfdb310 Nov 2025 pre-releaseNothing published for this version
-
v1.57.010 Nov 2025Release notes
Open source →DNS API is now generally available
The DNS API is now generally available, as well as support for features in this project that are related to the DNS API.
To migrate existing zones to the new DNS API, see the DNS migration guide.
See the changelog for more details.
Features
- DNS support is now generally available (#1234)
-
v1.56.1-0.20251107153251-ba00e883658007 Nov 2025 pre-releaseNothing published for this version
-
v1.56.007 Nov 2025Release notes
Open source →Features
- format user provided TXT records when not quoted (#1208)
Bug Fixes
- more readable default time format (#1197)
- iso: broken
--typeflag in list command (#1221) - Storage Boxes not listed in
hcloud all list(#1222) - consistent tab spacing in describe commands (#1216)
- filepaths not correctly resolved on Windows (#1229)
-
v1.55.1-0.20251031163259-418b2ba0212a31 Oct 2025 pre-releaseNothing published for this version
-
v1.55.1-0.20251031102205-801a2433e28831 Oct 2025 pre-releaseNothing published for this version
-
v1.55.1-0.20251024150351-ee289881bde524 Oct 2025 pre-releaseNothing published for this version
-
v1.55.021 Oct 2025Release notes
Open source →Storage Box API Experimental
This release adds support for the Storage Box API.
The Storage Box integration will be introduced as an experimental feature. This experimental phase is expected to last until 21 November 2025. During this period, upcoming minor releases of the project may include breaking changes to features related to the Storage Box API. You can find out the current state of this in #1202.
This release includes all changes from the recent Storage Box API changelog entry.
Examples
hcloud storage-box create \ --name backups \ --type bx11 \ --location fsn1 \ --password "$PASSWORD" \ --enable-ssh \ --reachable-externally hcloud storage-box enable-snapshot-plan backups \ --max-snapshots 10 \ --minute 0 \ --hour 2Features
- server,load-balancer: add --ip-range argument to attach-to-network commands (#1164)
- add support for Storage Boxes (#1118)
Bug Fixes
- list commands print
nullinstead of[]in JSON mode (#1191) - outdated JSON output after creating resources (#1194)
- formatting of server-type describe output (#1196)
-
v1.54.1-0.20251017130941-c35b0c9918a217 Oct 2025 pre-releaseNothing published for this version
-
v1.54.1-0.20251010114945-31983dd12ed110 Oct 2025 pre-releaseNothing published for this version
-
v1.54.007 Oct 2025Release notes
Open source →DNS API Beta
This release adds support for the new DNS API.
The DNS API is currently in beta, which will likely end on 10 November 2025. After the beta ended, it will no longer be possible to create new zones in the old DNS system. See the DNS Beta FAQ for more details.
Future minor releases of this project may include breaking changes for features that are related to the DNS API.
See the DNS API Beta changelog for more details.
Examples
hcloud zone create \ --name example.com \ --mode primary \ --label key=value hcloud zone rrset create example.com \ --name @ \ --type A \ --record 201.180.75.2Features
- support the new DNS API (#1182)
-
v1.53.1-0.20250926162849-f316c653de1126 Sep 2025 pre-releaseNothing published for this version
-
v1.53.1-0.20250926063910-8363bcb604e726 Sep 2025 pre-releaseNothing published for this version
-
v1.53.1-0.20250925133602-e5396b6ed00f25 Sep 2025 pre-releaseNothing published for this version
-
v1.53.025 Sep 2025Release notes
Open source →Server Types now depend on Locations.
-
We added a new
locationsproperty to the Server Types resource. The new property defines a list of supported Locations and additional per Locations details such as deprecations information. -
We deprecated the
deprecationproperty from the Server Types resource. The property will gradually be phased out as per Locations deprecations are being announced. Please use the new per Locations deprecation information instead.
See our changelog for more details.
Features
- add category property to server type (#1150)
- per location server types (#1166)
-
-
v1.52.1-0.20250910103946-daf4e61b478910 Sep 2025 pre-releaseNothing published for this version
-
v1.52.008 Sep 2025Release notes
Open source →Features
- improve error formatting (#1080)
- add plural command aliases (#1087)
- context: allow renaming contexts (#1115)
- firewall: display applied to resources when using label selector (#1082)
- highlight experimental commands (#1103)
Bug Fixes
- do not indent last empty line (#1112)
- iso: describe command suggests location names (#1113)
- segmentation fault possible when creating servers or load balancers (#1137)
- primary-ip: only suggest applicable primary IPs (#1114)
-
v1.51.1-0.20250728075406-4de27d8b4fb628 Jul 2025 pre-releaseNothing published for this version
-
v1.51.1-0.20250718155641-65dc84754cb718 Jul 2025 pre-releaseNothing published for this version
-
v1.51.1-0.20250711130622-0cd77b1cc4a711 Jul 2025 pre-releaseNothing published for this version
-
v1.51.1-0.20250710081607-87b63eadd3be10 Jul 2025 pre-releaseNothing published for this version
-
v1.51.030 May 2025Release notes
Open source →Features
- load-balancer: allow specifying network on create (#1013)
- context: add unset commmand (#1017)
- publish image to Docker Hub (#1043)
Bug Fixes
- allow getting resources with number as name
- some list flags are not correctly parsed (#987)
- load-balancer: allow certificate names in addition to IDs when creating/updating (#1026)
- config option flags sometimes not parsed correctly (#1025)
-
v1.51.0-rc.222 May 2025 pre-releaseNothing published for this version
-
v1.51.0-rc.122 May 2025 pre-release -
v1.51.0-rc.0.0.20250509155251-d713dfa75af009 May 2025 pre-releaseNothing published for this version
-
v1.51.0-rc.009 May 2025 pre-releaseRelease notes
Open source →Features
- load-balancer: allow specifying network on create (#1013)
- context: add unset commmand (#1017)
- publish image to Docker Hub (#1043)
Bug Fixes
- allow getting resources with number as name
- some list flags are not correctly parsed (#987)
- load-balancer: allow certificate names in addition to IDs when creating/updating (#1026)
- config option flags sometimes not parsed correctly (#1025)
-
v1.50.1-0.20250318020010-ca6db5c567d418 Mar 2025 pre-releaseNothing published for this version
-
v1.50.1-0.20250117163537-7c8aa7393fce17 Jan 2025 pre-releaseNothing published for this version
-
v1.50.016 Jan 2025Release notes
Open source →Features
- certificate: allow adding labels during create (#949)
Bug Fixes
- display $ when the currency is USD (#933)
- network: missing load_balancers property in schema
-
v1.49.1-0.20241205190238-adf4e9e5b44505 Dec 2024 pre-releaseNothing published for this version
-
v1.49.1-0.20241203220818-81c62506878d03 Dec 2024 pre-releaseNothing published for this version