appwrite-cli

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires appwrite-cli.

What problem does it solve? Managing Appwrite backends through the web console is slow and hard to reproduce across environments. This Skill provides complete command-line workflows for configuring, deploying, and automating Appwrite projects, including CI/CD-friendly non-interactive operations. ## Core Features & Use Cases - Project Configuration as Code: Define functions, sites, tables, buckets, teams, webhooks, and topics in appwrite.config.json with multi-file includes, then pull or push changes. - Deployment & Operations: Deploy functions and sites, manage variables via .env files, run functions locally, and query resources with flag-based filtering, sorting, and pagination. - CI/CD & SDK Generation: Push resources non-interactively with --force flags and generate type-safe SDKs from your database schema. - Use Case: A team needs to deploy the same Appwrite backend to staging and production. They define resources in appwrite.config.json, then run appwrite push all --all --force in their pipeline for reproducible deployments. ## Quick Start Ask the AI to install the Appwrite CLI, log in, initialize a project, and deploy a function using the appwrite-cli skill.

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, configure it in appwrite.config.json, then run appwrite push functions to deploy. Use --function-id with --activate to deploy and activate a specific function.

How to use 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.

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

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

Where do I put environment variables for Appwrite functions?

Do not define 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.

How do I filter Appwrite CLI list results?

Use flag-based queries like --where, --sort-asc, --sort-desc, --limit, --offset, and cursor flags on list commands. The --where flag supports operators =, !=, >, >=, <, and <= with strings, numbers, booleans, and null.