Kevo command-line client
Sign in and use Kevo tools and resources from a terminal.
Use the Kevo command-line client to work with the tools and resources available to your account from a terminal.
Install and sign in
Install Node.js 22 or newer, then install the client:
npm install --global https://kevolending.com/downloads/kevo-cli-0.1.0.tgz
kevo login
Sign in on the page that opens. Use kevo login --no-browser to print the sign-in link instead. The default scope is operations; use kevo login --scope knowledge to connect to the docs tools. Sign in once for each scope, then add --scope operations or --scope knowledge to a command to switch. Without --scope, the client uses the most recently signed-in scope.
The client stores credentials in KEVO_CONFIG_DIR when set, otherwise in the Kevo directory under your system’s configuration directory. kevo logout revokes tokens when possible and removes all saved connections for the selected origin. Use kevo logout --scope knowledge to remove only that connection. Commands using the same connection wait for each other. If a command is killed, its lock expires after about two minutes; retry then. If the client reports a lost lock, check the operation’s result before retrying. If a token refresh was interrupted, sign in again for that scope.
Find and call tools
List the tools available to your account and inspect one tool’s arguments:
kevo tools
kevo tools deals_get
kevo call deals_get dealId=deal_123
Use key=value for an argument, or key:='<json>' for a JSON value. Nested fields use a dot, and repeating an array field adds an item. Supply a whole object with --json '{...}' or --input file.json; use --input - to read standard input. Key-value arguments override values in that object. A bare --json prints the result as JSON.
When a tool requires an idempotencyKey and you omit it, the client generates and prints one. Reuse that key when retrying the same request. For a prepared change, open the returned review link and confirm on Kevo’s page. --open opens the link automatically; --no-open leaves it closed.
Read resources
kevo resources
kevo read kevo://account/me
Add --json for machine-readable output.
Use in scripts
| Exit code | Meaning |
|---|---|
| 0 | Success |
| 1 | Kevo returned an error |
| 2 | Usage error or unknown tool |
| 3 | Sign-in needed or refused |
| 4 | Network or unexpected error |
Errors include Kevo’s code, message, suggested action and correlation ID.