Zenifra CLI

The Zenifra CLI is the platform's official command-line interface: the npm package is @zenifra/cli and the installed command is zenifra. It lets you operate the platform from a terminal, scripts, and pipelines without relying on the web console for repetitive tasks.

Installation

npm install -g @zenifra/cli
zenifra --help

Every command has its own help with flags, examples, and expected output:

zenifra help create project
zenifra plans --help
zenifra deploy watch --help

If you run an incomplete command such as zenifra deploy or zenifra builds, the CLI opens that command's help. All listing commands accept --json, which is useful in scripts.

Required permissions

ActionMinimum scope
List or view a projectproject.read on project:<project-id>
Create an HTTP projectproject.create on organization:*
Create a databasedatabase.create on organization:*
Create Cache, Queue, or Valkeymanaged_service.create on organization:*
Trigger a deployproject.deploy.trigger on project:<project-id>
Read builds and logsproject.logs.read on project:<project-id>

owner has full access. assistant, member, and API Keys need the matching grants.

Using it with coding agents

Coding agents with terminal access can use the CLI directly. For Codex, the official Zenifra plugin guides the agent to use the same CLI commands and profiles, with the credentials and permissions you configured.

To only query data from an AI client, Zenifra MCP provides read-only OAuth access. Use the CLI for terminal operations and MCP for queries inside the AI client.

Next steps

Last updated on

On this page