Hello Everyone
I’m stuck to upgrade the Shopify CLI from 2.36 to 3.50.
My NPM version is - 11.1.0, Node Version 23.1.0 and Ruby version is 3.3.1
Let me know what should I do to upgrade it.
Thank You
Topic summary
A developer encountered issues upgrading Shopify CLI from version 2.36 to 3.50 despite having current versions of npm (11.1.0), Node (23.1.0), and Ruby (3.3.1).
Resolution Found:
The user successfully resolved the issue through a two-step process:
-
Uninstall existing CLI: Used
gem uninstall shopify-clito remove the old Ruby-based version -
Install specific version: Instead of using the standard
npm install -g @shopify/cli@latestcommand from official documentation, installed a specific version withnpm install -g @shopify/cli@3.75.4
Key Issue: The standard npm update command appeared to complete (showing “5 packages updated”) but failed to actually change the CLI version, which remained at 2.36.
The thread is resolved with the poster finding an alternative installation method that worked when the documented approach failed.
I’ve found the solution. Here it is.
First I’ve uninstall the current Shopify CLI using gem -
gem uninstall shopify-cli
Next I’ve install the Shopify CLI again, but now with some modification.
In documentation they provide
npm install -g @shopify/cli@latest
But instead of that I’ve used this
npm install -g @shopify/cli@3.75.4
The 3.75.4 is latest version as of now. You can change it according to the latest version of your time.
Thank you
Hey @FTB1
I’ve tried that but that was not working.
The terminal shows that it was updated 5 packages but when you see the Shopify Version, it shows 2.36.
I’ve found the other way you can check it out.
Thank You for your suggestion.