PromILLEpapstOriginal post
Rank 1: Thread
Hi guys. I want to update my CLI version to 4.2.0 from 2.0.2 on my ubuntu docker. Is it the correct way to uninstall the CLI with
rm -f /usr/local/bin/appwrite | bash
and install it afterwards with
curl -sL https://appwrite.io/cli/install.sh | bash
Is there a better solution?
Also I get the following error when "updating" the described way
Plain text
npm WARN notsup Not compatible with your version of node/npm: commander@9.5.0npm WARN notsup Unsupported engine for inquirer@8.2.6: wanted: {"node":">=12.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})npm WARN notsup Not compatible with your version of node/npm: inquirer@8.2.6```
How can I fix that? Thanks in advance 🙂Summary
Developer wants to update their appwrite CLI version from 2.0.2 to 4.2.0 on Ubuntu Docker. They are unsure if uninstalling with `rm -f /usr/local/bin/appwrite | bash` and installing with `curl -sL https://appwrite.io/cli/install.sh | bash` is the correct way. They are also getting npm WARN messages about unsupported engines.
Possible Solution: Yes, uninstalling and installing with the mentioned commands is the correct way. To fix the npm WARN messages, they need to update their Node.js version to a compatible version (either 12.20.0