camelmasa / cli

Build apps, themes, and hydrogen storefronts for Shopify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shopify CLI

Twitter Followers License badge

With the Shopify command line interface (Shopify CLI 3.0), you can:

  • build custom storefronts and manage their hosting
  • initialize, build, dev, and deploy Shopify apps — and scaffold app extensions

 

Before you begin

Install the latest version of Node.js and npm (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:

  • npx @shopify/create-app@latest (installed by default with Node)
  • pnpm create @shopify/create-app@latest
  • yarn create @shopify/app

Learn more in the docs: Create an app

 

Developing Hydrogen custom storefronts with Shopify CLI

When you’re building a custom storefront, use Hydrogen, Shopify’s React-based framework optimized for headless commerce. Initialize a new Hydrogen app with a fully-featured Demo Store template, or start from scratch with the minimal Hello World template. Shopify Plus stores can deploy their Hydrogen apps to Oxygen, Shopify’s global hosting solution, at no extra cost.

Get started using one of the following commands:

  • npm init @shopify/hydrogen@latest
  • npx @shopify/create-hydrogen@latest
  • pnpm create @shopify/create-hydrogen@latest
  • yarn create @shopify/hydrogen

 

Help 🖐

If you encounter issues using the CLI or have feedback you'd like to share with us, below are some options:

Contribute 👩🏽‍💻

If you'd like to contribute to the project, check out the contributors docs and the steps to get started.

 

References

About

Build apps, themes, and hydrogen storefronts for Shopify

License:MIT License


Languages

Language:TypeScript 83.8%Language:Go 8.5%Language:JavaScript 5.6%Language:Smarty 0.9%Language:HTML 0.3%Language:SCSS 0.3%Language:Gherkin 0.2%Language:Shell 0.1%Language:CSS 0.1%Language:Liquid 0.1%Language:Ruby 0.1%Language:Dockerfile 0.0%Language:Makefile 0.0%Language:Batchfile 0.0%