0.12.1 • Published 2 years ago

@shopify/hydrogen-cli v0.12.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@shopify/hydrogen-cli

hydrogen/cli provides interactive project scaffolding for hydrogen apps and other useful commands to help developers build on @shopify/hydrogen.

Note: The CLI does not currently provide a full starter template. Run npx create-hydrogen-app instead to scaffold a new project with the starter template. To contribute to the starter template, update files in examples/template-hydrogen-default.

Installation

The @shopify/hydrogen-cli is installable globally or as a project dependency.

yarn global add @shopify/hydrogen-cli

After installation, you will have access to the h2 binary in your command line. You can verify that it is properly installed by running h2 version, which should present you with the currently installed version.

h2 version

Upgrading

To upgrade the global @shopify/hydrogen-cli package, you need to run:

yarn global upgrade --latest @shopify/hydrogen-cli