Skip to main content

app env pull
command

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:

string
env: SHOPIFY_FLAG_CLIENT_ID

The Client ID of your app.

string
env: SHOPIFY_FLAG_ENV_FILE

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

env: SHOPIFY_FLAG_NO_COLOR

Disable color output.

string
env: SHOPIFY_FLAG_PATH

The path to your app directory.

env: SHOPIFY_FLAG_RESET

Reset all your settings.

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.

Was this section helpful?

App env pull

shopify app env pull [flags]