Please visit this site maybe it's helpful to you.

https://shopify.dev/docs/themes/tools/cli

Follow bellow Steps for CLI:-

Step 1: Install new requirementsAnchor link to section titled "Step 1: Install new requirements" In addition to the requirements for Shopify CLI 2.x, Shopify CLI 3.x requires Node.js 14.17.0 or higher. If you use macOS, then Homebrew will install Node.js for you when you upgrade to the latest version of Shopify CLI.

For a complete list of requirements, refer to Install Shopify CLI.

Step 2: Uninstall Shopify CLI 2.xAnchor link to section titled "Step 2: Uninstall Shopify CLI 2.x" Consider uninstalling the previous version of Shopify CLI. Uninstalling the previous version avoids any collisions between the two versions.

If you want to keep both versions of Shopify CLI installed, then refer to Using both Shopify CLI 2.x and 3.x to learn how to work with both versions in the same environment.

Shopify CLI can be removed from your system using the same package manager that you used to install it:

Terminal

gem uninstall shopify-cli If you’re using a legacy version of Shopify CLI (lower than 0.9.0), then you need to uninstall it manually.

Step 3: Install Shopify CLI 3.xAnchor link to section titled "Step 3: Install Shopify CLI 3.x" Shopify CLI is managed as a set of Node.js packages:

@shopify/cli @shopify/theme

You can install these packages using Homebrew on macOS, or by installing the packages globally on Windows or Linux.

Note apt, Yum, and RubyGems installations are no longer supported.

MACOSAnchor link to section titled "MacOS" You can install Shopify CLI on macOS using Homebrew.

You need to add Shopify's third-party repositories to Homebrew using brew tap before you can install Shopify CLI.

Terminal

brew tap shopify/shopify brew install shopify-cli

Note Homebrew installs all of the requirements for running Shopify CLI, including Ruby, Node.js, and Git, for you.

WINDOWS AND LINUXAnchor link to the section titled "Windows and Linux" To install Shopify CLI for themes, install the @shopify/cli and @shopify/theme Node.js packages globally using the command line.

Terminal

npm install -g @shopify/cli @shopify/theme Step 4: Verify the installationAnchor link to the section titled "Step 4: Verify the installation" To verify that Shopify CLI is installed properly, run the following command:

Answer from Chirag Vadadoriya on Stack Overflow
🌐
Shopify
shopify.dev › docs › api › shopify-cli
Shopify CLI
Shopify CLI is a command-line interface tool that helps you generate and work with Shopify apps, themes and custom storefronts. You can also use it to automate many common development tasks. ... A Node.js package manager: npm, Yarn 1.x, or pnpm. ... This installs Shopify CLI globally on your system, so you can run shopify commands from any directory.
🌐
Shopify
shopify.dev › docs › apps › build › cli-for-apps
About Shopify CLI for apps
Use your package manager to delete @shopify/cli and (if present) @shopify/app from your dependencies: ... Install Shopify CLI as a global package.
Discussions

Shopify cli can't install on mac
Hi! I installed all requirements firstly but installation not progress. do you have any advice? Thanks. ProductName: Mac OS X ProductVersion: 10.15.7 macOS : Catalina uname : Darwin More on community.shopify.com
🌐 community.shopify.com
1
January 15, 2023
ruby - installing shopify-cli on Windows - Stack Overflow
I tried installing the Shopify app CLI through the command: gem install shopify-cli Output: ERROR: Error installing shopify-cli: "theme-check-language-server.bat" from theme-check More on stackoverflow.com
🌐 stackoverflow.com
I have failed to install shopify CLI on my windows 10 computer
i have successfully installed ruby on my computer but when i use the recommended command line to install shopify CLI its says ‘npm’ is not recognized as an internal or external command, operable program or batch file. More on community.shopify.com
🌐 community.shopify.com
0
November 2, 2023
Shopify-CLI instructing me to run `bundle install` but where is the Gemfile?
Once Shopify-CLI forced the upgrade to a newer Ruby version, I have been having a ton of challenges. Finally got Ruby 3.3.0 installed so that Shopify-CLI could run. I also updated the Shopify-CLI plugin. $ brew info s… More on community.shopify.com
🌐 community.shopify.com
1
1
March 24, 2024
People also ask

How do I update Shopify CLI to the latest version?
A: If you installed Shopify CLI using Homebrew, you could update it by running brew upgrade shopify-cli. For npm installations, use npm update -g @shopify/cli to get the latest version.
🌐
hulkapps.com
hulkapps.com › home › shopify hub › the ultimate guide on how to install shopify cli for effortless theme and app development
The Ultimate Guide on How to Install Shopify CLI for Effortless ...
Is it possible to manage multiple Shopify stores with Shopify CLI?
A: Absolutely! Shopify CLI allows you to switch between different stores using the --store flag or manage multiple project environments to streamline working on various stores simultaneously.
🌐
hulkapps.com
hulkapps.com › home › shopify hub › the ultimate guide on how to install shopify cli for effortless theme and app development
The Ultimate Guide on How to Install Shopify CLI for Effortless ...
Can I use Shopify CLI for both theme and app development?
A: Yes, Shopify CLI is designed to support both theme and app development, offering commands and tools tailored to each.
🌐
hulkapps.com
hulkapps.com › home › shopify hub › the ultimate guide on how to install shopify cli for effortless theme and app development
The Ultimate Guide on How to Install Shopify CLI for Effortless ...
🌐
GitHub
github.com › Shopify › cli
GitHub - Shopify/cli: Build apps, themes, and hydrogen storefronts for Shopify
You can also use do it through Homebrew on macOS: brew tap shopify/shopify && brew install shopify-cli
Starred by 588 users
Forked by 219 users
Languages   TypeScript 95.8% | JavaScript 1.6% | CSS 1.3% | Liquid 1.0% | SCSS 0.2% | Shell 0.1%
🌐
Codingwithjan
codingwithjan.com › blog › shopify-tutorials › shopify-cli
How to Install and Use Shopify's CLI as a Beginner
May 22, 2025 - Learn how to install the Shopify CLI and use it in building themes or apps!
🌐
Shopify Community
community.shopify.com › shopify discussion
Shopify cli can't install on mac
January 15, 2023 - Hi! I installed all requirements firstly but installation not progress. do you have any advice? Thanks. ProductName: Mac OS X ProductVersion: 10.15.7 macOS : Catalina uname : Darwin
Find elsewhere
🌐
Shopify
shopify.dev › docs › storefronts › themes › tools › cli › migrate
Migrate to Shopify CLI 3.x
If you’re using a legacy version of Shopify CLI (lower than 0.9.0), then you need to uninstall it manually. Follow the instructions here to install Shopify CLI
🌐
Medium
medium.com › @sidhupkc › installing-shopify-cli-and-pulling-themes-a-step-by-step-guide-f87132fb9e7b
Installing Shopify CLI and Pulling Themes: A Step-by-Step Guide | by Sidhu | Medium
January 29, 2024 - Installing Shopify CLI and Pulling Themes: A Step-by-Step Guide If you’re ready to set up the Shopify CLI and start working on your store themes locally, make sure you have the following …
🌐
HulkApps
hulkapps.com › home › shopify hub › the ultimate guide on how to install shopify cli for effortless theme and app development
The Ultimate Guide on How to Install Shopify CLI for Effortless Theme and App Development
April 12, 2024 - The Ultimate Guide on How to Install Shopify CLI for Effortless Theme and App DevelopmentTable of Contents Introduction Prerequisites Installation Post-Installation Steps and Tips Conclusion In a world where e-commerce reigns supreme, Shopify has emerged as a beacon for businesses and developers...
Top answer
1 of 2
1

Please visit this site maybe it's helpful to you.

https://shopify.dev/docs/themes/tools/cli

Follow bellow Steps for CLI:-

Step 1: Install new requirementsAnchor link to section titled "Step 1: Install new requirements" In addition to the requirements for Shopify CLI 2.x, Shopify CLI 3.x requires Node.js 14.17.0 or higher. If you use macOS, then Homebrew will install Node.js for you when you upgrade to the latest version of Shopify CLI.

For a complete list of requirements, refer to Install Shopify CLI.

Step 2: Uninstall Shopify CLI 2.xAnchor link to section titled "Step 2: Uninstall Shopify CLI 2.x" Consider uninstalling the previous version of Shopify CLI. Uninstalling the previous version avoids any collisions between the two versions.

If you want to keep both versions of Shopify CLI installed, then refer to Using both Shopify CLI 2.x and 3.x to learn how to work with both versions in the same environment.

Shopify CLI can be removed from your system using the same package manager that you used to install it:

Terminal

gem uninstall shopify-cli If you’re using a legacy version of Shopify CLI (lower than 0.9.0), then you need to uninstall it manually.

Step 3: Install Shopify CLI 3.xAnchor link to section titled "Step 3: Install Shopify CLI 3.x" Shopify CLI is managed as a set of Node.js packages:

@shopify/cli @shopify/theme

You can install these packages using Homebrew on macOS, or by installing the packages globally on Windows or Linux.

Note apt, Yum, and RubyGems installations are no longer supported.

MACOSAnchor link to section titled "MacOS" You can install Shopify CLI on macOS using Homebrew.

You need to add Shopify's third-party repositories to Homebrew using brew tap before you can install Shopify CLI.

Terminal

brew tap shopify/shopify brew install shopify-cli

Note Homebrew installs all of the requirements for running Shopify CLI, including Ruby, Node.js, and Git, for you.

WINDOWS AND LINUXAnchor link to the section titled "Windows and Linux" To install Shopify CLI for themes, install the @shopify/cli and @shopify/theme Node.js packages globally using the command line.

Terminal

npm install -g @shopify/cli @shopify/theme Step 4: Verify the installationAnchor link to the section titled "Step 4: Verify the installation" To verify that Shopify CLI is installed properly, run the following command:

2 of 2
1

Add npm exec before shopify command

npm exec shopify version

These work for me. (This is not the proper solution but it work's)

Don't use GEM because it is deprecated , it will add 2.36 version by default , upper version is not supported by gem.

🌐
Shopify
shopify.github.io › cli › cli › get-started.html
Get started | cli - Shopify
Clone the repository: git clone https://github.com/Shopify/cli.git. Install dependencies: pnpm install · You can run the CLIs through the following package.json scripts: pnpm shopify: Builds and runs the Shopify CLI. pnpm create-app: Builds and runs the create-app CLI.
🌐
npm
npmjs.com › package › @shopify › cli
@shopify/cli - npm
2 weeks ago - You can also use do it through Homebrew on macOS: brew tap shopify/shopify && brew install shopify-cli
      » npm install @shopify/cli
    
Published   Dec 15, 2025
Version   3.88.1
🌐
Shopify
shopify.dev › changelog › shopify-cli-is-now-easier-to-install-and-faster-for-liquid-theme-development
Shopify CLI is now easier to install and faster for Liquid theme development - Shopify developer changelog
September 18, 2024 - Today, a new version of Shopify CLI is available, bringing with it a better development experience that streamlines your setup for building Shopify themes. ... Instant development server startup, so there's no need to wait for synchronization before opening a browser. No dependency on Ruby and unified commands implementation on TypeScript, which streamlines your development cycle with easier install & setup.
🌐
Shopify Community
community.shopify.com › retired boards › appdev › tools
i have failed to install shopify CLI on my windows 10 ...
November 2, 2023 - i have successfully installed ruby on my computer but when i use the recommended command line to install shopify CLI its says ‘npm’ is not recognized as an internal or external command, operable program or batch file.
🌐
Oscprofessionals
oscprofessionals.com › home › shopify › how to use shopify cli commands for themes
A Beginner's Guide for Shopify CLI Commands Themes
February 13, 2025 - Install Shopify CLI Open your terminal using the command whichever system you are using(Command Prompt or Terminal in Mac).
Address   34, Mantri House, 34, Cement Rd, Om Sai Nagar, Shivaji Nagar, 440010, Nagpur
🌐
Shopify
shopify.dev › docs › api › shopify-cli › app
Shopify CLI App commands
Sets default configuration when you run app-related CLI commands. ... Builds the app, then deploys your app configuration and extensions. ... Builds and previews your app on a dev store, and watches for changes. ... Stop the app preview that was started with shopify app dev.
🌐
F22 Labs
f22labs.com › blogs › how-to-use-shopify-cli-for-themes-a-step-by-step-guide
How To Use Shopify CLI for Themes (A Step-by-Step Guide)
January 9, 2025 - Here is a step-by-step guide for working on themes locally using a Shopify CLI, ... Node.js: 18.20+, 20.10 or higher A Node.js package manager: npm, Yarn 1.x, or pnpm. Git: 2.28.0 or higher · Paste the following command to your terminal. ... After Installing the Shopify CLI, use the following command to pull the theme files to your local system.
🌐
YouTube
youtube.com › watch
How to Install and Use Shopify's CLI as a Beginner - YouTube
How to use your own local development environment using Shopify's CLI.A step-by-step guide from installing the CLI to making the first steps. ► Offers & Help...
Published   October 17, 2023
🌐
Shopify
shopify.github.io › shopify-cli › users › installation.html
Installation | shopify-cli
The installation guide can be found here: https://shopify.dev/apps/tools/cli/cli-2#installing-shopify-cli-2-x
🌐
Shopifylab
shopifylab.dev › shopify-app-developemnt › 🛠️-how-to-install-shopify-cli-on-your-pc
🛠️ How to Install Shopify CLI on Your PC
May 6, 2025 - This installs the CLI globally for use in any project. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ... You can also use npm install -g @shopify/cli @shopify/theme if you prefer using Node.