Skip to docs content
Apito CLI sync reference
Open Source
Free Cloud
Pro
Updated 2026-08-12

Apito CLI sync reference

Editions: Open Source · Free Cloud · Pro

The CLI manages accounts and syncs schema, functions, and content between projects. Honest limit: apito sync for schema stages a draft — it does not publish. Publish in Console.

Install

npm install -g @apito/cli
# or follow current install docs for your release
apito --version

Accounts

apito account create
# server URL + cloud sync key / token for that Engine

Point --to <account> at Cloud or self-hosted Engines.

Filesystem schema (Blueprints)

apito sync --from filesystem --to <account> --type schema --dir blueprints/<slug> --dry-run
apito sync --from filesystem --to <account> --type schema --dir blueprints/<slug> --yes

Then Console → Schema ChangesPublish. Seed with the blueprint’s node scripts/seed.mjs — content is not filesystem-synced.

Export:

apito sync --from <account> --to filesystem --type schema --dir ./export-dir

What CLI does / does not

Schema Functions Content
Project ↔ project draft stage draft (+ optional deploy) copy rows
Filesystem → project draft stage draft (+ optional deploy) no
Publish schema no deploy ≠ schema publish n/a

Next