CLI for pushing schemas and seeding relationships to Permify.
pnpm add @permify-toolkit/cli# Push schema from permify.config.ts
permify-toolkit schema push
# Seed relationships from a JSON file
permify-toolkit relationships seed --file-path ./data/relationships.json
# Push to a new tenant (creates it if needed)
permify-toolkit schema push --tenant new-tenant -c| Command | Description |
|---|---|
schema push |
Push schema to Permify server |
relationships seed |
Seed relationship tuples from JSON |
- Shared Config — reads from
permify.config.ts, no flag duplication - Inline or File Schemas — TypeScript DSL or
.permfiles - Tenant Management — auto-create tenants with
--create-tenant - Schema Validation — Permify validates on push with detailed error messages
For full documentation, guides, and API reference, visit the Permify Toolkit Docs.