Shopify/cli(opens in a new tab)
Language: TypeScript
Build apps, themes, and hydrogen storefronts for Shopify
- stars
- 766
- watchers
- 187
- forks
- 301
- open issues
- 133
- Last updated
- 10/30/2026
Language: TypeScript
Build apps, themes, and hydrogen storefronts for Shopify
With the Shopify command line interface (Shopify CLI), you can:
Learn more in the commands docs.
Install the latest version of Node.js and npm (or another package manager of your choice).
When you’re building a Shopify app, you can initialize your project using your preferred package manager. A single command will install all the dependencies you need — including Shopify CLI itself.
Initialize your project using one of the following commands:
npm init @shopify/app@latest (installed by default with Node)pnpm create @shopify/create-app@latestyarn create @shopify/appbun create @shopify/app@latest (experimental)Learn more in the docs: Create an app
To work with themes, the CLI needs to be installed globally with:
npm install -g @shopify/cliYou can also install it through Homebrew on macOS: brew tap shopify/shopify && brew install shopify-cli
Learn more in the docs: Shopify CLI for themes
The Hydrogen code lives here: https://github.com/Shopify/hydrogen/tree/main/packages/cli
Learn more in the docs: Shopify CLI for Hydrogen storefronts
If you encounter issues using the CLI or have feedback you'd like to share with us, below are some options:
If you'd like to contribute to the project, check out the contributors docs and the steps to get started.