540 B
540 B
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