September 28, 2026

Shopify CLI
A command-line tool for initializing, building, developing, and deploying Shopify apps, themes, and Hydrogen custom storefronts.
# 开发主题时需全局安装
npm install -g @shopify/cli
# macOS 也可通过 Homebrew 安装
brew tap shopify/shopify && brew install shopify-cli# 初始化 Shopify 应用项目(CLI 会随依赖自动安装)
npm init @shopify/app@latestProduct facts
- Type
- CLI / Terminal
- Category
- Ecommerce & Retail › DTC Tools
- Pricing
- Open source
- License
- MIT
- Launched
- Sep 28, 2026
- Listed
- Sep 28, 2026
- Website
- github.com
Overview
Shopify CLI is the official command-line tool from Shopify, built with TypeScript and the oclif framework, and open-sourced under the MIT license.
Designed for Shopify developers, it covers three development scenarios—Apps, Themes, and Hydrogen custom storefronts—unifying the entire workflow from project initialization to deployment within the terminal.
Key Capabilities
- App Development: Supports initializing, building, local development, and deploying Shopify apps, extensions, and functions. When creating a project with commands like
npm init @shopify/app@latest, all dependencies including Shopify CLI are installed automatically. - Theme Development: Provides theme-related development and management commands. Developing themes requires a global installation of
@shopify/cli; macOS users can also install it via Homebrew. - Hydrogen Custom Storefronts: Supports building custom storefronts and managing their hosting. Hydrogen-related code resides in a separate repository path.
Who It's For
Developers building apps for the Shopify platform, customizing themes, or creating headless commerce frontends with the Hydrogen framework.
Environment Requirements
Before use, install the latest version of Node.js along with npm (or another package manager such as pnpm, yarn, or bun). Support for bun is currently experimental.
Key features
- App Initialization & Deployment: Initialize a Shopify app project with a single command that auto-installs dependencies, supporting build, development, and deployment workflows.
- Theme Development Support: Once installed globally, manage local development and deployment of Shopify themes directly from the terminal.
- Hydrogen Storefront Building: Build custom storefronts using the Hydrogen framework and manage their hosting.
- Multi-Package Manager Compatibility: Initialize projects using npm, pnpm, yarn, or experimental support for bun.
- Extension & Function Development: Beyond core apps, develop and deploy Shopify extensions and functions.
Releases
Notify meQ&A
- Do I need to install Shopify CLI globally when developing Shopify apps?AI-generated
- No. When you initialize a project using commands like npm init @shopify/app@latest, all dependencies including Shopify CLI are installed automatically.
- How do I install Shopify CLI for theme development?AI-generated
- You need to install it globally via npm install -g @shopify/cli. macOS users can also use Homebrew: brew tap shopify/shopify && brew install shopify-cli.
- What prerequisites are required to use Shopify CLI?AI-generated
- You need the latest version of Node.js and npm installed, or an alternative package manager such as pnpm, yarn, or bun.
- Where should I report issues or suggest features?AI-generated
- You can submit bug reports or feature requests in the relevant section of the Shopify developer community, or consult the official CLI documentation.
This product has no owner yet
It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.
Claim this productThe product content on this page was translated by AI from the author's original.