locus-cli
npm wrapper for the Locus CLI — identity plane for coding agents.
Wrong account, impossible. Pin a binding; every command is hard-scoped to that tenant until you re-pin.
Install
npm install -g locus-cli
npx locus-cli --help
On first run the wrapper:
- Downloads the matching GitHub release binary into
~/.locus/bin, or
- Falls back to
cargo install --git https://github.com/ashlrai/locus --package locus-cli
Requires Node ≥ 16. Cargo fallback needs Rust.
Quick start
locus init --with-samples
locus pin personal
locus whoami
locus exec -- env | grep LOCUS_
Related