Skip to content
Back

Appwrite CLI

  • 0
  • Functions
ASHQKING
1 Aug, 2025, 04:19

I try to deploy a function using Appwrite CLI but it says: appwrite functions createDeployment ^ --functionId=xyz^ --code="." ^ --activate error: unknown command 'createDeployment' (Did you mean create-deployment?) bash: --functionId=xyz: command not found bash: --code=.: command not found bash: --activate: command not found

TL;DR
The developer is trying to deploy a function using Appwrite CLI but encountering an error with the command syntax. The correct command should be `appwrite functions create-deployment` instead of `createDeployment`. The error messages are due to incorrect command formatting.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more