Skip to main content
The Judt CLI manages Apps from the command line. Each command is one call to the Judt API, and its help names that call. Use the CLI when you have a shell but no MCP client.

Install the CLI

To install the CLI, use one of these commands: All methods install the same binary. To see how to update your copy, run judt upgrade.

Sign in

Use one of these methods:
For CI jobs and agents, set JUDT_API_KEY. This variable has priority over a saved sign-in:
To check your sign-in, run judt whoami. To learn which credential to use, see Authentication.

Manage an App

Commands under judt apps act on one App. To set the App for a directory, run judt apps use. The CLI saves the App in .judt.json. judt apps create saves the new App in the same way. To set the App for one command, use --app.
To set a Secret, send the value on stdin, so that it is not in your shell history:
To call an API operation directly, use judt api:
All groups and commands have --help. The help tells what the command does, which App it acts on, its flags, and the API call that it makes.

Use the CLI in a script

  • Add --json to get the JSON response of the API.
  • Lists return one page. Add --all to get all pages, or --cursor with the next_cursor of the previous page.
  • Text flags take @path to read a file and - to read stdin.
  • If a write fails with 503 or 504, stderr shows an --idempotency-key value. Run the same command again with that flag to get the result of the first run. Without the flag, the work runs again.
The exit code tells you the result. judt apps run exits with the exit code of your command.

Environment variables

Next steps