appwrite / sdk-for-cli

[READ-ONLY] Official Appwrite CLI >_
BSD 3-Clause "New" or "Revised" License
85 stars 28 forks source link

bug: the term 'appwrite' is not recognized as the name of a cmdlet #13

Closed yeikel16 closed 2 years ago

yeikel16 commented 2 years ago

After installing the install script from the CLI without problem, it does not recognize appwrite as a command within the console. I am using PowerShell to run the command.

appwrite: The term 'appwrite' is not recognized as the name of a cmdlet, function, script file, or executable program. Check
if you typed the name correctly, or if you included a path, verify that the path is correct and try again.
Online: 1 Character: 1
+ appwrite version
+ ~~~~~~~~
     + CategoryInfo: ObjectNotFound: (appwrite: String) [], CommandNotFoundException
     + FullyQualifiedErrorId: CommandNotFoundException 
eldadfux commented 2 years ago

@christyjacob4 @TorstenDittmann any ideas?

NeonSpork commented 2 years ago

@yeikel16 Did this problem resolve when you restarted powershell?

jonatandorozco commented 2 years ago

It's not solved after restarting the console

yeikel16 commented 2 years ago

@yeikel16 Did this problem resolve when you restarted powershell?

Sorry for the late reply, restarting the console didn't fix the problem. To solve this problem you have to install the CLI by npm install -g appwrite-cli and not by iwr -useb https://appwrite.io/cli/install.ps1 | iex, because the latter causes such an error. I close this issue for now.

Curiouspaul1 commented 2 years ago

perhaps take it out from the docs ? or fix the issue