Skip to main content

app env pull

Creates or updates an .env files that contains app and app extension environment variables.

When an existing .env file is updated, changes to the variables are displayed in the terminal output. Existing variables and commented variables are preserved.

The following flags are available for the app env pull command:

Anchor to --client-id <value>
--client-id <value>
string
env: SHOPIFY_FLAG_CLIENT_ID

The Client ID of your app.

Anchor to --env-file <value>
--env-file <value>
string
env: SHOPIFY_FLAG_ENV_FILE

Specify an environment file to update if the update flag is set

Anchor to --no-color
--no-color
env: SHOPIFY_FLAG_NO_COLOR

Disable color output.

Anchor to --path <value>
--path <value>
string
env: SHOPIFY_FLAG_PATH

The path to your app directory.

Anchor to --reset
--reset
env: SHOPIFY_FLAG_RESET

Reset all your settings.

Anchor to --verbose
--verbose
env: SHOPIFY_FLAG_VERBOSE

Increase the verbosity of the output.

Anchor to -c, --config <value>
-c, --config <value>
string
env: SHOPIFY_FLAG_APP_CONFIG

The name of the app configuration.

Examples

app env pull

shopify app env pull [flags]
Was this page helpful?