Hako
How-to Guides

How to Install Hako

Install the hako CLI or macOS app.

macOS App

The macOS application includes the hako CLI. Download the latest release:

Download hako for macOS

CLI Only

For a CLI-only installation on macOS or Linux:

curl -fsSL https://raw.githubusercontent.com/masakirocorp/hako/master/install.sh | bash

The installer clones the hako repository to ~/.hako/repo, symlinks cli/bin/hako to ~/.local/bin/hako, and adds ~/.local/bin to your PATH if needed.

Customizing the Install

VariableDescriptionDefault
HAKO_INSTALL_DIRBinary installation path~/.local/bin
HAKO_HOMEHako home directory~/.hako

Dependencies

  • git (required): worktree management.
  • Docker (optional): only for Docker Compose mode.
  • jq (optional): improved JSON and config parsing.

Update

hako update

Pulls the latest changes from the git repository. Only works with CLI installations, not the macOS app.

Uninstall

bash <(curl -fsSL https://raw.githubusercontent.com/masakirocorp/hako/master/install.sh) uninstall

ops.origin: Masakiro Corp.

On this page