Installation
Get hetzner-k3s running on your system in under a minute.
Prerequisites
Before installing hetzner-k3s, you'll need:
| Requirement | Description |
|---|---|
| Hetzner Cloud account | Sign up here if you don't have one |
| API token | Create one in Cloud Console → Security → API Tokens (read & write permissions) |
| SSH key pair | For accessing cluster nodes |
| kubectl | For interacting with your cluster (installation guide) |
| Helm | For installing applications (installation guide) |
macOS
Homebrew (Recommended)
Homebrew also works on Linux — see the Linux section below.
Binary Installation
If you prefer not to use Homebrew, install the required dependencies first:
- libevent
- bdw-gc
- libyaml
- pcre
- gmp
Apple Silicon:
wget https://github.com/vitobotta/hetzner-k3s/releases/download/v2.4.5/hetzner-k3s-macos-arm64
chmod +x hetzner-k3s-macos-arm64
sudo mv hetzner-k3s-macos-arm64 /usr/local/bin/hetzner-k3s
Intel:
wget https://github.com/vitobotta/hetzner-k3s/releases/download/v2.4.5/hetzner-k3s-macos-amd64
chmod +x hetzner-k3s-macos-amd64
sudo mv hetzner-k3s-macos-amd64 /usr/local/bin/hetzner-k3s
Linux
Homebrew (Recommended)
Homebrew works on Linux as well as macOS.
amd64 (x86_64)
wget https://github.com/vitobotta/hetzner-k3s/releases/download/v2.4.5/hetzner-k3s-linux-amd64
chmod +x hetzner-k3s-linux-amd64
sudo mv hetzner-k3s-linux-amd64 /usr/local/bin/hetzner-k3s
arm64 (ARM)
wget https://github.com/vitobotta/hetzner-k3s/releases/download/v2.4.5/hetzner-k3s-linux-arm64
chmod +x hetzner-k3s-linux-arm64
sudo mv hetzner-k3s-linux-arm64 /usr/local/bin/hetzner-k3s
Fedora and Similar Distributions
Some distributions (like Fedora) may have OpenSSL compatibility issues. If you encounter errors, set these environment variables before running hetzner-k3s:
For convenience, add a wrapper function to your ~/.bashrc or ~/.zshrc:
Windows
Use the Linux binary with WSL (Windows Subsystem for Linux).
After installing WSL, follow the Linux installation instructions above.
Verify Installation
Check that hetzner-k3s is installed correctly:
You should see the version number displayed.
Next Steps
Now that hetzner-k3s is installed:
- Create your first cluster — Configuration reference and detailed options
- Set up a complete stack — Tutorial with ingress, TLS, and a sample application
Updating
To update to the latest version:
Homebrew:
Binary installations: Download and replace the binary using the same steps as the initial installation.
Check the releases page for the latest version and changelog.