--- title: hydrogen env push description: >- Push environment variables from the local .env file to your linked Hydrogen storefront. api_name: shopify-cli source_url: html: 'https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-env-push' md: 'https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-env-push.md' --- # hydrogen env push Push environment variables from the local .env file to your linked Hydrogen storefront. ## Flags The following flags are available for the `hydrogen env push` command: * **--env \** **string** Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command. * **--env-file \** **string** Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path `--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. Examples ### Examples * #### hydrogen env push ##### hydrogen env push ```bash shopify hydrogen env push [flags] ```