appwrite-cli

Manages Appwrite projects, functions, sites, tables, and storage from the command line.

1|1|Updated Jul 31, 2026
One-click install
npx skills add https://github.com/appwrite/agent --skill appwrite-cli-appwrite
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: appwrite-cli
Source: https://github.com/appwrite/agent/tree/main/.agents/skills/appwrite-cli
Command: npx skills add https://github.com/appwrite/agent --skill appwrite-cli-appwrite

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing Appwrite resources through the Console UI is slow and hard to automate. This Skill provides complete command-line workflows for deploying and configuring Appwrite projects, enabling scripted, repeatable, and CI/CD-friendly operations. ## Core Features & Use Cases - Project Configuration as Code: Define functions, sites, tables, buckets, teams, webhooks, and topics in appwrite.config.json (or split files via includes) and sync them with appwrite push/appwrite pull. - Deployment & Operations: Deploy functions and sites, manage variables via .env files, run functions locally, and query rows, users, and files with flag-based filters like --where and --sort-desc. - CI/CD & SDK Generation: Push resources non-interactively with --force flags and generate type-safe SDKs from your database schema with appwrite generate. - Use Case: A developer sets up a pipeline that runs appwrite push all --all --force on every merge to main, keeping functions, tables, and webhooks in sync with the repository. ## Quick Start Use the appwrite-cli skill to log in, initialize a project, and deploy a new function to my Appwrite Cloud project.

Frequently Asked Questions about appwrite-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy an Appwrite function from the command line?▼

Run `appwrite init functions` to scaffold a function, then `appwrite push functions` to deploy it. Use `--function-id <ID> --activate` to deploy and activate a specific function in one step.

How do I use the Appwrite CLI in CI/CD pipelines?▼

Use non-interactive mode by pushing with the `--force` flag, such as `appwrite push all --all --force`. Configure the endpoint and project with `appwrite client --endpoint` and `--project-id` for headless automation.

How do I filter Appwrite CLI list results?▼

Use flag-based queries like `--where 'status=active'`, `--sort-desc '$createdAt'`, `--limit`, and `--offset` on list commands. Add `--json` for machine-readable output, and use `--queries` only for raw JSON query strings.

Can I split appwrite.config.json into multiple files?▼

Yes, use the `includes` field to reference separate JSON array files for functions, sites, or webhooks. Each path must be relative and point to a JSON array, and a resource cannot be defined both inline and in includes.

Where do I define Appwrite function environment variables?▼

Do not put variables in appwrite.config.json. Place them in a `.env` file inside the function's `path` directory, then sync them with `appwrite push functions --function-id <ID> --with-variables`.