--- title: app env pull description: >- 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. api_name: shopify-cli source_url: html: 'https://shopify.dev/docs/api/shopify-cli/app/app-env-pull' md: 'https://shopify.dev/docs/api/shopify-cli/app/app-env-pull.md' --- # app env pullcommand 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. ## Flags The following flags are available for the `app env pull` command: * \--client-id \ string env: SHOPIFY\_FLAG\_CLIENT\_ID The Client ID of your app. * \--env-file \ string env: SHOPIFY\_FLAG\_ENV\_FILE Specify an environment file to update if the update flag is set * \--no-color env: SHOPIFY\_FLAG\_NO\_COLOR Disable color output. * \--path \ string env: SHOPIFY\_FLAG\_PATH The path to your app directory. * \--reset env: SHOPIFY\_FLAG\_RESET Reset all your settings. * \--verbose env: SHOPIFY\_FLAG\_VERBOSE Increase the verbosity of the output. * -c, --config \ string env: SHOPIFY\_FLAG\_APP\_CONFIG The name of the app configuration. ### Examples * #### app env pull ##### app env pull ```bash shopify app env pull [flags] ```