Installation
One minute to install, zero minutes to maintain.
Choose your OS
hun is a single binary with zero runtime dependencies. It installs in seconds.
macOS & Linux
The easiest way is via Homebrew.
brew tap hundotsh/tap
brew install hunOr if you prefer a direct script (auditable, of course):
curl -fsSL https://hun.sh/install.sh | shFrom Source (Go)
If you have Go installed and want to build from source:
go install github.com/sourabhrathourr/hun@latestVerify Installation
Once installed, verify that hun is in your PATH.
hun --versionIf that prints a version number, you are good to go.
Then run onboarding:
hun onboardThis gives you a quick TUI-first setup flow and registers your first project.
Note on Shell Integration
hun does not require any shell plugins, aliases, or weird .rc file modifications. It just works as a standard CLI tool.
However, many users like to alias h to hun because they use it so much.
# Optional: Add to basic shell config
alias h=hunUpgrade
Keep your hun fresh.
Homebrew
brew upgrade hunScript
Just run the install script again. It detects existing installations and updates the binary.
curl -fsSL https://hun.sh/install.sh | shGo
go install github.com/sourabhrathourr/hun@latest