Unable to update Shopify CLI from 2.36 to 3.50

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

1 Like

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

2 Likes

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.

1 Like