Reference
CLI
Manage projects, environments and keys from your terminal.
Install the CLI globally, or run it on demand with npx syndra.
npm install -g syndraCommands
syndra init
Creates a project and writes syndra.config.ts and .env in the current directory.
syndra init [--name <name>] [--region <region>]syndra dev
Starts a local sync server with an in-memory store ideal for tests and offline development.
syndra dev --port 4010 ◆ Syndra dev server v2.4.0
➜ Local: ws://localhost:4010
➜ Inspector: http://localhost:4010/_inspectsyndra deploy
Validates and deploys access rules and resolvers.
syndra deploy [--env <environment>] [--dry-run]syndra keys
syndra keys list
syndra keys create --env production --type public
syndra keys revoke <key-id>syndra inspect
Streams operations for a document in real time.
syndra inspect lists/groceries --followGlobal flags
| Flag | Description |
|---|---|
--project, -p |
Override the project from syndra.config.ts. |
--json |
Output machine-readable JSON. |
--verbose |
Print debug logs. |
--help, -h |
Show help for any command. |