DEV Community

Cover image for How to install Shopify CLI 3.0 for themes
Jack Huynh
Jack Huynh

Posted on • Updated on

How to install Shopify CLI 3.0 for themes

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

Installing Shopify CLI ⚡️

macOS

Installing Shopify CLI on macOS is simple with Homebrew

brew tap shopify/shopify
brew install shopify-cli
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

Verify the installation

After the installation is complete, verify that Shopify CLI is installed correctly by running the following command:

shopify version
Enter fullscreen mode Exit fullscreen mode

If the installation was successful, the command should display the version of the installed Shopify CLI.

Image description

Typing in the shopify help will list available Shopify CLI commands.

shopify help
Enter fullscreen mode Exit fullscreen mode

Image description

Top comments (2)

Collapse
 
khoaanh2212 profile image
Ka Nguyen

weldone bro

Collapse
 
huynhmanhnguyen profile image
huynhmanhnguyen

sound good