Skip to main content

hydrogen login
command

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

The following flags are available for the hydrogen login command:

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.

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 section helpful?

Hydrogen login

shopify hydrogen login [flags]