Files
hapi/docs/guide/quick-start.md
T
weishu 460c393006 docs: add documentation site with VitePress setup
- Initialize VitePress documentation site with config, index, and guides
- Add guides for quick-start, installation, PWA, how-it-works, FAQ, and why HAPI
- Update .gitignore to exclude VitePress cache directory
- Update logo.svg with actual icon from web/public/icon.svg
- Simplify README.md with link to full installation guide
- Remove redundant WHY_NOT_HAPPY.md (content migrated to why-hapi guide)
2025-12-31 20:41:02 +08:00

56 lines
767 B
Markdown

# Quick Start
Get HAPI running in a few minutes.
## Step 1: Install HAPI
::: code-group
```bash [npm]
npm install -g @twsxtd/hapi
```
```bash [Homebrew]
brew install tiann/tap/hapi
```
```bash [npx (one-off)]
npx @twsxtd/hapi
```
:::
Other install options: [Installation](/guide/installation)
## Step 2: Start the server
```bash
hapi server
```
On first run, HAPI prints an access token and saves it to `~/.hapi/settings.json`.
## Step 3: Start a coding session
```bash
hapi
```
This starts Claude Code wrapped with HAPI. The session appears in the web UI.
## Step 4: Open the UI
Open your browser:
```
http://localhost:3006
```
Or from another device on the same network:
```
http://<your-computer-ip>:3006
```
Enter your access token to log in.