CLI

Pathrule, from your terminal.

One install brings a complete local runtime to macOS, Windows and Linux, with the bundled MCP server, hook setup, and JSON output for CI.

zsh
$npm i -g @pathrule/cli
✓ installed @pathrule/cli
$pathrule init
✓ workspace linked
✓ MCP wired for Claude Code, Cursor, Codex

A terminal-first runtime.

Every OS

A single npm install delivers the full local runtime on every major developer OS, no desktop app required.

Bundled MCP server

The CLI owns the bundled MCP stdio server and materializes the hook for your AI clients.

Login anywhere

Sign in with a browser, or over SSH with a device code. It works on headless boxes.

CI-friendly

Doctor, repair and status commands emit JSON, so checks fit into pipelines.

Runs the same path-scoped context engine as Pathrule Studio, so your terminal agents get the right memories, rules and skills before the first tool call. Your code never leaves the machine.

Set up Pathrule in your terminal.