Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
| Requirement | Minimum version | Notes |
|---|---|---|
| Bun or Node.js | Bun 1.0+ / Node 18.0+ | Bun is recommended (the CLI bundle uses Bun internally). Node.js works via npm install but may require additional setup. |
| npm (or pnpm / yarn) | any recent | For installing the package |
| A Lofty account | — | For API key or OAuth credentials |
The CLI is distributed as an npm package but internally uses Bun. If you only have Node.js,
npm install -g will work, but some edge cases may require Bun installed as the runtime.Install
Verify installation
Upgrade
Uninstall
| Path | Created by | Contents |
|---|---|---|
~/.config/tokens/lofty-session-cache.json | auth login-session | Token URL response |
~/.config/tokens/lofty-pkce-cache.json | auth login-browser | Browser OAuth tokens |
~/.config/tokens/lofty-oauth-cache.json | auth login | Client credentials tokens |
Alternative: per-project install
Next steps
Authenticate
Required before any API call.
Quickstart
Common end-to-end examples.