Find tools, inspect usage, and automate Locus Pro from your terminal.
The Locus CLI brings tool discovery, metered calls, and account management to your terminal. Use it interactively or give an agent structured JSON output for scripts and background jobs.
The installer supports macOS and Linux, verifies the download, and installs
a matching agent skill. Add the install directory to your shell profile
for new shells. Run the installer again to upgrade.
2
Sign in and check the connection
Terminal
locus auth loginlocus auth status
Sign-in verifies your email through Okibi Identity. If that email has no
Locus account yet, Locus creates one with an agents workspace and emails
you a link to set a password. The CLI works right away. The dashboard
asks for that password first, so you can sign in there on your own.The CLI credential expires 7 days after its last use and no later than
30 days after it was issued. Run locus auth login again to issue a
fresh one; a repeat sign-in replaces the credential for this
installation instead of failing.
These commands inspect authentication and connectivity without exposing the credential. If the default identity flow is unavailable, use locus auth native.The CLI connects to https://api.paywithlocus.com/api by default.