Cannot upgrade CLI

I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

In which of these areas are you experiencing a problem?

App

Expected behavior

upgrade version

Actual behavior

It says all updated but nothing changed

Reproduction steps

upgrade to node 24 and use v3.70

Verbose output

npm verbose reify failed optional dependency /opt/homebrew/Cellar/node/24.8.0/lib/node_modules/@shopify/cli/node_modules/@esbuild/win32-x64
npm verbose reify failed optional dependency /opt/homebrew/Cellar/node/24.8.0/lib/node_modules/@shopify/cli/node_modules/@esbuild/win32-ia32
npm verbose reify failed optional dependency /opt/homebrew/Cellar/node/24.8.0/lib/node_modules/@shopify/cli/node_modules/@esbuild/win32-arm64
npm verbose reify failed optional dependency /opt/homebrew/Cellar/node/24.8.0/lib/node_modules/@shopify/cli/node_modules/@esbuild/sunos-x64
npm verbose reify failed optional dependency /opt/homebrew/Cellar/node/24.8.0/lib/node_modules/@shopify/cli/node_modules/@esbuild/openharmony-arm64
npm verbose reify failed optional dependency /opt/homebrew/Cellar/node/24.8.0/lib/node_modules/@shopify/cli/node_modules/@esbuild/openbsd-x64
npm verbose reify failed optional dependency /opt/homebrew/Cellar/node/24.8.0/lib/node_modules/@shopify/cli/node_modules/@esbuild/openbsd-arm64
npm verbose reify failed optional dependency /opt/homebrew/Cellar/node/24.8.0/lib/node_modules/@shopify/cli/node_modules/@esbuild/netbsd-x64
npm verbose reify failed optional dependency /opt/homebrew/Cellar/node/24.8.0/lib/node_modules/@shopify/cli/node_modules/@esbuild/netbsd-arm64

Operating system

macos

CLI version

3.70

Shell

iterm

Nodejs version

v24.8.0

Hi @craftus, This most likely means that you have 2 different CLIs installed. Check which is the “active” one with which shopify

By the logs, seems like you might have installed the CLI previously using homebrew? Try uninstalling that one first and see if that fixes it :slight_smile:

Hi @Isaac-Shopify - is it generally recommended to use pnpm as the package manager for installing the Shopify CLI?

We internally use pnpm for this project, but don’t recommend any specific package manager for installing the distributed CLI: npm, pnpm and yarn should all work fine. ( bun should too).

1 Like

Hi, but i don’t see any shopify inside brew…

It might be just that you are using the `node` version from `homebrew`.

How are you trying to update the CLI? If you are trying to install with `npm install…` first try to run this:

`which shopify` and `which npm` , see if the paths match.

I’m pretty sure you have multiple CLIs installed because you might have multiple node versions installed too.

vitali@192 cli % which shopify
/opt/homebrew/bin/shopify
vitali@192 cli % which npm
/Users/vitali/.nvm/versions/node/v22.20.0/bin/npm
vitali@192 cli %

Well, there you have it, if you are upgrading using `npm i -g …` that will be installed in that node 22.20.0 version managed by NVM.

But there is a different version, installed via homebrew, that takes precedence in the PATH. So until you uninstall that one, you won’t be able to “see” the new one.

Try with `brew uninstall shopify-cli`, if that doesn’t work, it might manually removing that shopify binary (at `/opt/homebrew/bin/shopify`)