@theplato/tiro-cli on npm for macOS, Linux, and Windows. For security, use Node.js 22.23.4+ (22.x), 24.22.1+ (24.x), or 26.12.1+ (26.x).
1. Install
Recommended Node.js for security is 22.23.4+ (22.x), 24.22.1+ (24.x), or 26.12.1+ (26.x). This recommendation is separate from the current npm package installation requirements.Before installing, check your Node.js version and the Node.js requirements of the CLI release on npm.If your Node.js version is outside the recommended security ranges or does not meet the reported installation requirements, update Node.js to meet both before installing the CLI.
2. Sign in
http://127.0.0.1:<random-port>/callback to receive the redirect. After you sign in, the JWT is kept in your operating system’s credential store.
- macOS — Keychain
- Linux — Secret Service (requires
gnome-keyringorkwallet) - Windows — Credential Manager
The CLI acts as the signed-in user. Its reach is therefore the same as the notes you see in the app, including notes in your own private folders. A system API key is different: it reads only notes in folders shared with all members (What notes a system API key reads). If your automation has to work with notes in private folders, use the CLI or an account API key.
3. Sign out
tiro auth login starts a new OAuth session with Tiro’s fixed public client.
4. Connect Tiro MCP to your agent (optional)
If you use Claude Code (or any MCP-compatible client), the CLI ships a one-line installer for the hosted Tiro MCP athttps://mcp.tiro.ooo/mcp:
tiro mcp info --json for a structured view (transport, URL, docs link). The CLI handles read-heavy flows (browse, save to disk); MCP handles interactive tool calls inside an agent loop. See AGENTS.md bundled with the package for the full agent contract.
Headless, CI, and agent environments
Some environments can’t open a browser (CI, SSH, sandboxed agents, Docker). For those, setTIRO_TOKEN directly. Any value here overrides the keychain.
Configuration overrides
Per-call overrides: