mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
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.
1.3 KiB
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
- Seamless Handoff - Switch between terminal and phone seamlessly
- Hub setup - Access HAPI from anywhere
- Notifications - Set up Telegram notifications
- Install the App - Add HAPI to your home screen