Fast terminal control for AxiomDB projects, branches, Prisma URLs, network access, metrics, backups, audit, and secrets.
npm install -g axiomdb-cliThe npm package exposes axm for speed and keeps axiom for compatibility.
axm login
axm -liThe CLI opens Square IdP in your browser and uses OAuth 2.0 with PKCE. If the loopback callback cannot complete, paste the authorization code or the full redirect URL back into the terminal.
◒ Complete sign-in in browser…
◇ Paste the authorization code or full redirect URL:
◇ AxiomDB OAuth complete
axm projects list
axm projects use "Square Experience"
axm projects use square_experience-main
axm projects currentIDs still work, but names and app slugs are the normal path. If a name is duplicated, the CLI asks you to pick the right project.
axm branches list
axm branches create --name feature-auth --lifespan 7d
axm branches urls --name feature-auth
axm branches delete feature-authBranch URL output is always Prisma-ready:
DATABASE_URL="postgresql://...@db.squareexp.com:6432/<branch-db>?sslmode=require"
DIRECT_URL="postgresql://...@db.squareexp.com:5432/<branch-db>?sslmode=require"If your machine cannot reach db.squareexp.com, allow the current IP:
axm network allow --current
axm -ne add --currentOther useful network commands:
axm network list
axm network allow 203.0.113.10/32 --ports both --label "Office VPN"
axm network revoke <rule-id>
axm network public-mode restricted
axm network public-mode public_runtimeKeep restricted as the default. Use public modes only when you mean it.
axm dashboard
axm -daThe TUI shows projects, metrics, and recent audit events without leaving the terminal.
axm -li
axm -pr -ls
axm -br -url --name feature-auth
axm -ne add --current
axm -da
axm -g -tk --branch feature-authaxm whoami
axm monitoring summary
axm audit list --limit 20