All apps/Appwrite CLI

Appwrite CLI

appwrite

The Appwrite CLI is a Node based command line tool to help you interact with the Appwrite API.

Runs as appwrite|macOS, Linux, Windows|appwrite.io

Command form

ai-draft · 4 tasks · 13 fields

Sign in to an Appwrite endpoint and create or deploy Functions. Passwords, MFA codes, sites, tables and the other service commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui appwrite

appwrite login

Sign in
Sign inExample values, fixed in this page — nothing here reaches a terminal
Basic
Endpoint*
url
Email
string
TasksEach one presets the form for one job
Sign in to a self-hosted instance
endpointemail
ParametersOnly these flags are editable in the form
Endpoint
API endpoint of a self-hosted instance, e.g. https://appwrite.example.com/v1.
url
--endpoint
Email
string
--email
Add a new account
boolean
--new
Switch account
boolean
--switch

appwrite init function

Create a Function
Create a FunctionExample values, fixed in this page — nothing here reaches a terminal
Basic
Name*
string
Function ID*
string
Runtime*
string
TasksEach one presets the form for one job
Create without prompts
namefunction_idruntime
ParametersOnly these flags are editable in the form
Name
string
--name
Function ID
string
--function-id
Runtime
string
--runtime
Deploy immediately
boolean
--deploy

appwrite push function

Deploy Functions
Deploy FunctionsExample values, fixed in this page — nothing here reaches a terminal
Basic
Function ID*
string
TasksEach one presets the form for one job
Deploy one function
function_id
Deploy all functions
all
ParametersOnly these flags are editable in the form
Function ID
string
--function-id
All functions
boolean
--all
Replace variables from .env
boolean
--with-variables
Skip build logs
boolean
--no-logs
Do not wait for deployment
boolean
--async
SourcesEvery flag above is checked against these
readme
appwrite login --endpoint https://appwrite.example.com/v1 The CLI prompts for `Enter your email` and `Enter your password`, or takes them from `--email` and `--password`. appwrite login --new appwrite login --switch
manual2026-10

github.com

readme
appwrite init function Pass `--name`, `--function-id` and `--runtime` to skip the prompts, `--source github` to connect a GitHub repository instead of deploying local code, and `--deploy` to create and deploy the function straight away.
manual2026-10

github.com

readme
appwrite push function Pass `--function-id <ID>` for one function or `--all` for every function, `--with-variables` to replace the function's variables with those in its `.env` file, `--no-logs` to skip the build logs, and `--async` to return without waiting for the deployment.
manual2026-10

github.com

Before it fills your prompt, Otty checks the installed appwrite against its version. A form that does not match your version is not offered.