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.

Run the CLI as a local daemon and Pathrule Web pairs with it over a scoped localhost bridge, without ever giving the browser raw filesystem access.

Set up Pathrule in your terminal.