Files
hapi/docs/guide/quick-start.md
T
weishu 91d03e481f docs: add npm registry recommendation for installation
Update installation guides to specify the official npm registry
and add a recommendation to use it for global installs, as some
mirrors may not sync platform packages in time.
2026-03-02 12:00:19 +08:00

1.3 KiB

Quick Start

Install HAPI

::: code-group

npm install -g @twsxtd/hapi --registry=https://registry.npmjs.org
brew install tiann/tap/hapi
npx @twsxtd/hapi

:::

Recommendation: use the official npm registry for global install. Some mirrors may not sync platform packages in time.

Other install options: Installation

Start the hub

hapi hub --relay

On first run, HAPI prints an access token and saves it to ~/.hapi/settings.json.

hapi server remains supported as an alias.

The terminal will display a URL and QR code for remote access.

End-to-end encrypted with WireGuard + TLS.

Start a coding session

hapi

This starts Claude Code wrapped with HAPI. The session appears in the web UI.

Open the UI

Open the URL shown in the terminal, or scan the QR code with your phone.

Enter your access token to log in.

Next steps