⚠️ This is a legacy version of Hydrogen. See the latest available at https://github.com/Shopify/hydrogen ⚠️
Hydrogen is a React-based framework for building dynamic, Shopify-powered custom storefronts.
Set up your local environment with the instructions below ⬇️
Requirements:
yarn
ornpm
- Node.js version 16.14.0 or higher
Installation:
# Using `yarn`
yarn create @shopify/hydrogen
# Using `npm`
npm init @shopify/hydrogen
# Using `npx`
npx @shopify/create-hydrogen
Running locally:
- Start a development server
# Using `yarn`
yarn install
yarn dev
# Using `npm`
npm i
npm run dev
- Visit the development environment running at https://localhost:3000.
Learn more about getting started with Hydrogen.