Shopify CLI (Command Line Interface) is a vital tools for developers when working with Shopify themes. With Shopify CLI you can create, develop, and deploy themes directly from your terminal, allowing for quicker automation and improved workflows.
Let's see how we can set up the Shopify CLI on our computer.
Prerequisites
Node.js 16 or higher
Installing Shopify CLI ⚡️
macOS
Installing Shopify CLI on macOS is simple with Homebrew
brew tap shopify/shopify
brew install shopify-cli
Windows
Installing Shopify CLI on Windows require you to install RubyInstaller for Windows first.
Then open the Terminal
npm install -g @shopify/cli @shopify/theme
Verify the installation
After the installation is complete, verify that Shopify CLI is installed correctly by running the following command:
shopify version
If the installation was successful, the command should display the version of the installed Shopify CLI.
Typing in the shopify help
will list available Shopify CLI commands.
shopify help
Top comments (2)
weldone bro
sound good