we can use your computer’s command line to install the CLI from one of the supported package managers.
Requirements
- Ruby or Ruby+Devkit using RubyInstaller for Windows 2.7 or higher
- Git
- A Shopify Partner account
- A Shopify development store to install and test apps
Install Shopify CLI
Start by installing Shopify CLI on your computer. You can install Shopify CLI on Windows, macOS, or Linux. Use your computer’s command line to install Shopify CLI from one of the supported package managers.
If you want to use Shopify CLI natively on Windows 10, then first make sure that you’ve installed Ruby+Devkit using RubyInstaller for Windows (version 2.7 or higher).
Alternatively, you can use Shopify CLI using Windows Subsystem for Linux, in which case you need to install the following:
- Windows Subsystem for Linux
- Ubuntu VM
After you install the prerequisites, you can install Shopify CLI as a Ruby gem using the RubyGems.org package manager. In a new terminal window, navigate to your home directory and run the following command:TerminalCopy
$gem install shopify-cli
Verify the installation
To verify that Shopify CLI is installed properly, run the following command:TerminalCopy
$shopify version
The command returns a version number.