hydrogen logincommand
command
Logs in to the specified shop and saves the shop domain to the project.
Anchor to flagsFlags
The following flags are available for the hydrogen login
command:
- Anchor to --path <value>--path <value>stringenv: 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>stringenv: 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]
Examples
hydrogen login
hydrogen login
shopify hydrogen login [flags]