CLI version 3.82.1 is no longer supported, but I am 3.84.1

Hello, I’m already the latest version, why does the prompt not support 3.82.1, how do I need to update it in app?

Hi @Zara, is it possible you have a local copy of the CLI in your project? You can check package.json or run npm exec shopify version to check.

Also, are you using two different terminals? They might have different executable resolution strategies. So if you have multiple versions of the CLI installed on your machine, you might find a different one in each terminal.

@Ariel_Caplan Yes, As you said, the version in the project is old, so how to upgrade it? I did not seem to have any effect when executing the upgrade command, and it was not like this before.

we use Cursor and Vs code, they all show 3.82.1.

@Zara you should be able to just delete the packages from your app’s package.json. We currently recommend installing globally anyway.

@Ariel_Caplan Oh, I cannot find Shopify cli in it.

and I always use this command npm install -g @shopify/cli@latest to upgrade CLI.

It’s Confusing.

The issue is that you have the Shopify CLI installed globally in version 3.86.1, but the project is using an older local version (3.81.2) that is no longer compatible. just add in your proyect in dependencies = “@shopify/cli”: “^3.86.1” and then npm install

We don’t recommend adding the CLI as a local dependency of your project, always as a global package.

You might have two different global CLI installed though, as @Ariel_Caplan mentioned if you are using different terminals, they might be have different PATH resolutions.

You can check in each terminal what CLI you are actually executing with which shopify (for mac/linux) or Get-Command shopify for windows (or where.exe shopify I think)

Yes, I use Cursor and Vs code, so they have different version, I upgraded it in editor before.