AxiomDB CLI (v0.1.10) is a command-line tool for managing multi-branch PostgreSQL databases on the AxiomDB platform. It provides fast terminal control for projects, branches, Prisma connection URLs, network access, metrics, backups, audit logs, and secrets. Uses OAuth 2.0 with PKCE for authentication via Square IdP. Exposes the 'axm' command for speed while keeping 'axiom' for backward compatibility. Key differentiator: native Prisma URL generation for branch databases. Release cadence is irregular as the package is in early development (0.x).
npm install axiomdb-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the CLI globally, authenticates via OAuth, creates a short-lived branch, and retrieves Prisma-ready database URLs.
Use 'axm' instead of 'axiom' in scripts and CI pipelines.
Use long-form flags (e.g., --projects, --branches) for stability.
Re-run with -g flag, then use npx or add node_modules/.bin to PATH if local install is desired.
Pass --no-browser to get a URL to open manually, then paste the authorization code back.
Run 'npm install -g axiomdb-cli' and ensure npm global bin is in PATH.
Reinstall with 'npm install -g axiomdb-cli' or check that node_modules contains axiomdb-client.
Run 'axm login' to re-authenticate.
Use long form: --projects for the command, or run 'axm --help' for correct flags.