Requirements
- Node.js 20 or newer (
node --version) - macOS or Linux — Windows is best-effort until after launch
- A 9th Protocol account, or an OpenRouter key for BYOK
Install
9p binary on your PATH:
During private beta the package is not yet on the public npm registry. Beta
users get an install line with their invite.
Sign in
~/.9p/auth.json with 0600 permissions.
9p login --paste and supply an
access token from the dashboard instead.
See Authentication for BYOK, environment variables, and how
tokens refresh.
Run it
--plain for a bare REPL, which
is what you want in CI or over a pipe.
Optional setup
Project memory
Project memory
9p init writes a 9P.md for standing instructions, or scaffolds an
Obsidian-style vault. See Memory.Codebase map
Codebase map
9p map writes wiki-style notes about your codebase into the vault so later
sessions navigate a map instead of re-reading files. See Vault.MCP servers
MCP servers
Drop a
.9p/mcp.json in the project to add any MCP server’s tools. See MCP.
