# CLI

> bunx stacktaste. Token in the keychain. Never in the repo.

```bash
stacktaste help
```

| Command | Purpose |
| --- | --- |
| `login` | Browser grant, then init |
| `logout` | Drop token, revoke grant |
| `init` | Link this repo |
| `agents` | List or wire editors |
| `pull` / `push` / `sync` | Cloud |
| `status` / `doctor` | Health |
| `search` | Local search |
| `learn` / `review` / `check` | Capture, accept, scan |
| `mcp` / `hook` | Stdio. Quiet. Used by Cursor |

`export` and `import` are not implemented.

## Install

The package on npm is `stacktaste`.

<CodeGroup>

```bash npm
npm install -g stacktaste
```

```bash pnpm
pnpm add -g stacktaste
```

```bash yarn
yarn global add stacktaste
```

```bash bun
bun add -g stacktaste
```

</CodeGroup>

Or run without installing:

<CodeGroup>

```bash npm
npx stacktaste login
```

```bash pnpm
pnpm dlx stacktaste login
```

```bash yarn
yarn dlx stacktaste login
```

```bash bun
bunx stacktaste login
```

</CodeGroup>

## Auth

See [Login](/cli/login). Override the API with `STACKTASTE_API_URL` (RPC URL, including `/rpc`).
