TL;DR
The user was having trouble running the CLI using PowerShell. The issue was that PowerShell was trying to execute `ps1` files first. The user provided two solutions:
1. Run the CLI inside `cmd` instead of PowerShell.
2. Run the CLI with its full name using the `.cmd` extension, such as `appwrite.cmd login`.You can
- Run it inside
cmdinstead ofPowerShell - Run it with is full name like such
TypeScript
appwrite.cmd login
The reason is that PowerShell will try to execute ps1 file first
And it won't work
It worked, thanks
<:appwritefire:823999000330895380>
[SOLVED] Running the CLI using PowerShell
Recommended threads
- [v1.8.1] Getting error "(role: applicati...
... but that scope doesn't exist. I am trying to get a function to run and modify tables in the database dynamically. I set everything up and eventually got: ...
- Scheduled function silently stopped firi...
Function is scheduled `* * * * *` and is `enabled: true`, but Appwrite Cloud has stopped queueing executions. Last execution: **2026-05-30 00:47 UTC** (~46h...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...