Installation
Local Review is a Node.js app that runs on your own machine. It needs Node.js 22 or later and git, and supports macOS and Linux. Windows is untested: it may work, but nothing is promised.
Run it with npx
Section titled “Run it with npx”No install step; npx fetches it on first use:
npx local-review # serve the UI + API on http://localhost:5622npx local-review init my-feature # create a project to reviewnpx local-review@latest makes sure you’re on the newest release.
Install it globally
Section titled “Install it globally”npm i -g local-reviewlocal-review # the same commands, without npxEvery command and flag: CLI.
It serves on http://localhost:5622, bound to 127.0.0.1 only. If that port is in use, it says so and exits: pick
another with --port <n> or PORT=<n>:
npx local-review --port 5050Run it from a checkout
Section titled “Run it from a checkout”To work on Local Review itself:
git clone https://github.com/edspencer/local-review.gitcd local-reviewnpm installnpm start # build what's stale, then run the compiled CLI (npm start -- --port 5050)npm run lr -- plan my-feature # any local-review command, from sourcenpm run dev runs Vite with hot reload. The rest (tests, the build, conventions) is in
Contributing.
Your data
Section titled “Your data”Whichever way you run it, your projects and reviews live in ~/.local-review/, never in the package or the repos you
review, so upgrading or reinstalling never touches them. See Where your data lives.