hun.shhun.sh

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 hun

Or if you prefer a direct script (auditable, of course):

curl -fsSL https://hun.sh/install.sh | sh

From Source (Go)

If you have Go installed and want to build from source:

go install github.com/sourabhrathourr/hun@latest

Verify Installation

Once installed, verify that hun is in your PATH.

hun --version

If that prints a version number, you are good to go.

Then run onboarding:

hun onboard

This 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=hun

Upgrade

Keep your hun fresh.

Homebrew

brew upgrade hun

Script

Just run the install script again. It detects existing installations and updates the binary.

curl -fsSL https://hun.sh/install.sh | sh

Go

go install github.com/sourabhrathourr/hun@latest