Questions and discussions about using the Shopify CLI and Shopify-built libraries.
I have latest stable version of Node.js , Lastest Version of Git and also Ruby as well, But when I run CMD of npm install -g @Shopify/cli@latest i got the CLI 2 , I even uninstall everything and reinstall everything but still I got CLI 2 ! Is there any solution please 🙏
try gem uninstall shopify-cli and If not delete by this command then
You have to find all the file on which drive you have installed earlier and need to delete everything manually.
Firstly thank you for reply, but yes i already try gem uninstall shopify-cli and it did uninstall , But again i try to install with npm install -g @Shopify/cli@latest it again install cli 2 ..! hope you got it.
If still not found anything then please go-through the https://github.com/Shopify/cli/issues/1405 .
that also not work then uninstall all dependencies(ruby, bundler, git and Shopify cli 2 files from system manually).
after that try to install cli 3