Install Shopify CLI
This guide shows you how to install Shopify CLI on macOS, Windows, or Linux.
RequirementsAnchor link to section titled "Requirements"
The requirements to install and run Shopify CLI depend on your operating system:
Note: When you install Shopify CLI using Homebrew, Homebrew installs Node.js, Ruby, and Git for you.
Installing requirements for LinuxAnchor link to section titled "Installing requirements for Linux"
Use the following commands to install all of the requirements to install and run Shopify CLI on Linux, other than Node.js:
Install Shopify CLIAnchor link to section titled "Install Shopify CLI"
Shopify CLI is managed as a set of Node.js packages:
You can install these packages using Homebrew on macOS, or by installing the packages globally on Windows or Linux.
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.
Windows and LinuxAnchor link to section titled "Windows and Linux"
To install Shopify CLI for themes, install the
@shopify/theme Node.js packages globally using the command line.
Verify the installationAnchor link to section titled "Verify the installation"
To verify that Shopify CLI is installed properly, run the following command:
The command returns a version number.