Shopify CLI Docs

shopify hydrogen login

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

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

Usage

shopify hydrogen login [flags]

Summary

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

Flags

  • --path <value> string — The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run. optional Environment: SHOPIFY_HYDROGEN_FLAG_PATH.
  • -s, --shop <value> string — 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). optional Environment: SHOPIFY_SHOP.

Official source

On this page