CLI
praxis is the Praxis command-line tool. Use it to sign in, publish apps, run deploys, and call any platform operation as a single command. It serves developers and the agents working for them: every command can be copied and run as is, and every result can be read by a machine.
Two layers
Commands come in two layers that share the same platform operations and the same global options (--org, --format, --json, --limit).
Workflow commands are the actions you type directly, such as praxis login, praxis app publish, and praxis devops deploy plan. Each wraps one job: read the current repository, call a few operations in order, print the result. Their options and help text are written for that job.
Commands under praxis api are generated from the platform’s operation definitions, one command per operation, such as praxis api model list and praxis api sandbox create. Their options are the operation’s parameters; when an operation changes, the command follows without a new CLI release. Run praxis api <domain> --help to list the commands in a domain.
When to use the CLI
- Doing something on your machine: publishing an app, reading a deploy plan, importing a design file into a canvas, running cloud tests.
- Handing one action to someone else as a line they can copy, instead of a screenshot or a description.
- Calling the platform from CI or a script, with an API key instead of a browser login.
When to use the SDK or Code Mode
The split is “one action” versus “code that keeps running”:
- CLI: one action you run in a terminal, or one line in a script.
- SDK: business code that needs types, retries, and streaming responses.
- Code Mode: an agent combining platform capabilities inside a session, without writing code first.
All three call the same platform operations with the same permissions and the same metering. Which one you pick depends on who runs it and how often.
Next
- Quickstart: install, sign in, run your first command.
- Call the API: use any operation as a command.
- Local commands: app publishing, deploys, canvas imports.
- Command reference: usage, examples and options for every workflow command.
- For agents: machine-readable output and non-interactive runs.
- Exit codes and errors: judging success in a script.