Skip to main content

hydrogen env push
command

Push environment variables from the local .env file to your linked Hydrogen storefront.

The following flags are available for the hydrogen env push command:

string

Specifies the environment to perform the operation using its handle. Fetch the handle using the env list command.

string

Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path --path.

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.

Was this section helpful?

Hydrogen env push

shopify hydrogen env push [flags]