Skip to main content

hydrogen login

Logs in to the specified shop and saves the shop domain to the project.

The following flags are available for the hydrogen login command:

Anchor to --path <value>
--path <value>
string
env: SHOPIFY_HYDROGEN_FLAG_PATH

The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.

Anchor to -s, --shop <value>
-s, --shop <value>
string
env: SHOPIFY_SHOP

Shop URL. It can be the shop prefix (janes-apparel) or the full myshopify.com URL (janes-apparel.myshopify.com, https://janes-apparel.myshopify.com).


Was this page helpful?