Breaking Changes
- CLI renamed: Binary changed from
hetznertohz - Non-interactive: All interactive prompts removed - specify options via flags
setupcommand removed: Usehz config set token <token>instead- Delete confirmations: Use
--yesflag to skip confirmation in scripts
What's Changed
This release completes the separation of the CLI and TUI into distinct packages:
- @tomkp/hetzner-cli (
hz): Pure CLI for scripting and automation - @tomkp/hetzner-tui (
hetzner): Interactive terminal UI (separate package)
Removed Dependencies
- React, Ink, and all interactive UI libraries removed
- Package is now lightweight with only 3 dependencies
Migration
# Old
hetzner servers list
hetzner servers create # prompted for options
# New
hz servers list
hz servers create --name my-server --type cx22 --image ubuntu-24.04
hz servers delete my-server --yes # skip confirmationConfiguration
hz config set token YOUR_API_TOKEN
hz config set dnsToken YOUR_DNS_TOKENOr use environment variables: HETZNER_TOKEN, HETZNER_DNS_TOKEN