Back

[SOLVED] Appwrite cli install error

  • 0
  • Self Hosted
  • Tools
develocode777
30 Nov, 2023, 08:46

I am getting an error when installing the cli, can anyone help pls

TL;DR
The user had an error when installing the Appwrite cli. The solution was to upgrade Node and then the installation worked. There is a known issue with the script installation, so it is recommended to install the cli via npm.
D5
30 Nov, 2023, 09:54

Do you have latest CLI version?

D5
30 Nov, 2023, 09:54

That error was fixed recently

develocode777
30 Nov, 2023, 09:55

Yes, you can see in the picture it is a fresh install

D5
30 Nov, 2023, 09:57

I see

D5
30 Nov, 2023, 09:57

Try to login. Let's see it that works

D5
30 Nov, 2023, 09:57

Run: appwrite login

D5
30 Nov, 2023, 09:57

Do you get the same error?

develocode777
30 Nov, 2023, 10:00

it gives the same error

develocode777
30 Nov, 2023, 10:22

installing with script also doesn't work

D5
30 Nov, 2023, 10:41

Yes, that's expected

Ernest
30 Nov, 2023, 10:59

The script doesn't work for now (known issue), you'd have to install it via npm

develocode777
30 Nov, 2023, 11:37

@D5 apparently i had an older version of node, I upgraded node and now the appwrite cli works

D5
30 Nov, 2023, 11:38

Great! Pinning the solution and marking as solved

D5
30 Nov, 2023, 11:38
D5
30 Nov, 2023, 11:38

[SOLVED] Appwrite cli install error

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