Build apps, themes, and hydrogen storefronts for Shopify
Build apps, themes, and hydrogen storefronts for Shopify
## Before you begin Install the latest version of [Node.js](https://nodejs.org/en/download/) and [npm](https://docs.npmjs.com/getting-started) (or another package manager of your choice).
## Developing apps with Shopify CLI 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@latest` - `yarn create @shopify/app` - `bun create @shopify/app@latest` (experimental) Learn more in the docs: [Create an app](https://shopify.dev/apps/getting-started/create)
## Developing themes with Shopify CLI To work with themes, the CLI needs to be installed globally with: - `npm install -g @shopify/cli` You 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](https://shopify.dev/docs/storefronts/themes/tools/cli)
## Developing Hydrogen custom storefronts with Shopify CLI ## The Hydrogen code lives here: https://github.com/Shopify/hydrogen/tree/main/packages/cli Learn more in the docs: [Shopify CLI for Hydrogen storefronts](https://shopify.dev/docs/custom-storefronts/hydrogen/cli)
## Help 🖐 If you encounter issues using the CLI or have feedback you'd like to share with us, below are some options: - [File a bug report](https://community.shopify.dev/c/shopify-cli-libraries/14) - To report bugs create a post in Shopify CLI and Libraries on the dev community - [Ask a question or request a new feature](https://community.shopify.dev/c/dev-platform/32) - To ask a question or request a new feature create a post in Dev Platform on the dev community - [Shopify Community Forums](https://community.shopify.com/) - Visit our forums to connect with the community and learn more about Shopify CLI development - [CLI Documentation - Apps](https://shopify.dev/apps/tools/cli) - To view CLI documentation for app development - [CLI Documentation - Themes](https://shopify.dev/themes/tools/cli) - To view CLI documentation for theme development - [CLI Documentation - Hydrogen](https://shopify.dev/custom-storefronts/tools/cli) - To view CLI documentation for Hydrogen (custom storefront) development ## Contribute 👩🏽💻 If you'd like to contribute to the project, check out the [contributors docs](/docs) and the [steps to get started](/docs/cli/get-started.md).
## References - [oclif](https://oclif.io/)
[Feature] Support glob patterns in theme environment flags
CORS error on `shopify app dev` on the cli reverse proxy with `credentials: "include"`
[Feature]: Multiple Stores Using Same Github Branch
[Bug]: `shopify hydrogen dev` exits before listening when the npm registry is unreachable (p-cancelable onCancel-after-settle in latest-version chunk)
[Bug]: theme dev proxy 502 on POST /account/login (regression of #3963?)
shopify app deploy blocked by phantom [events]: Required — Partner Dashboard shows no Events feature enabled
Events schema blocks app deploys that use legacy OAuth scopes
[Feature Request] Global Scaling: One-Click Multilingual AI Video & UGC Ads Generator
[Enhancement] AI UGC Video & Multi-Language Ad Automation for Global Growth
[Idea] Native One-Click AI Video Ads & Persona Creator for Instant Scaling