Back

[SOLVED] Running the CLI using PowerShell

  • 0
  • Functions
hy
22 Sep, 2023, 19:03
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`.
Binyamin
22 Sep, 2023, 19:04

You can

  1. Run it inside cmd instead of PowerShell
  2. Run it with is full name like such
TypeScript
appwrite.cmd login
Binyamin
22 Sep, 2023, 19:05

The reason is that PowerShell will try to execute ps1 file first

Binyamin
22 Sep, 2023, 19:05

And it won't work

hy
22 Sep, 2023, 19:06

It worked, thanks

Binyamin
22 Sep, 2023, 19:06

<:appwritefire:823999000330895380>

Drake
22 Sep, 2023, 21:41

[SOLVED] Running the CLI using PowerShell

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