Appwrite CLI
$ appwrite Official High RiskAppwrite CLI (appwrite) exposes Appwrite's server API endpoints and project deployment workflow (init, pull, push) from the terminal. Global --json and --force flags enable structured reads and non-interactive CI runs, while appwrite client allows stateless API-key calls without local project state.
npm install -g appwrite-cli Maps 1:1 to Appwrite REST endpoints with --json output and handles local appwrite.config.json push/pull workflows directly.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Global --json and --force flags support machine parsing and headless CI execution, though some interactive init flows still expect TTY answers if flags are omitted.
- Global
--jsonand--forceflags - Stateless
appwrite clientconfiguration mode
Supports explicit --project-id scoping and confirmation prompts (bypassed only via --force), but lacks a --dry-run diff for push.
- Explicit
--forceopt-in for destructive/push actions - No
--dry-runpreview onappwrite push
Available via npm, npx, Homebrew formula/cask, and standalone GitHub release binaries across macOS, Linux, and Windows.
- Published as
appwrite-clion npm with GitHub release binaries
Full coverage of Appwrite projects, tables/databases, users, storage, and serverless functions in one CLI.
- Maps directly to Appwrite server API endpoints and
appwrite.config.jsonsync
Officially maintained by Appwrite (appwrite/sdk-for-cli) under BSD-3-Clause.
- Official
appwrite/sdk-for-clirepository
Good official CLI docs and auto-generated --help per API resource.
- Built-in
--helpand Appwrite Docs CLI guide
Security, Auth & Guardrails
Stores session cookies and endpoint settings locally via appwrite login, or authenticates headlessly with appwrite client --endpoint ... --project-id ... --key ....
BSD-3-Clause open-source CLI; Appwrite Cloud offers a free tier alongside self-hosted Docker deployment.
# Appwrite CLI Agent Rules - Always pass `--json` on read and write commands for structured output. - Confirm target `--project-id` before running `appwrite push --force` or any delete subcommand.
Agent-Ready Command Recipes
Safe Read-Only Queries
appwrite projects list --json
Retrieves configured Appwrite projects and IDs as structured JSON.
appwrite databases list --json
Lists databases in the active project without mutating schema or rows.
Controlled Writes & Previews
appwrite push functions --force --json
Pushes local function definitions to Appwrite without interactive confirmation prompts.
Strengths for Agents
- + Consistent
--jsonoutput across API-mapped commands andappwrite push. - + Supports both project-config sync (
appwrite.config.json) and statelessappwrite clientcalls.
Caveats & Pitfalls
- !
appwrite pushlacks a--dry-rundiff preview before deploying. - !
--forcesuppresses all confirmations, so scoping--project-idfirst is essential.