Skip to main content

theme pull

Retrieves theme files from Shopify.

If no theme is specified, then you're prompted to select the theme to pull from the list of the themes in your store.

The following flags are available for the theme pull command:

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

Disable color output.

Anchor to --password <value>
--password <value>
string
env: SHOPIFY_CLI_THEME_TOKEN

Password generated from the Theme Access app or an Admin API token.

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

The path where you want to run the command. Defaults to the current working directory.

Anchor to --verbose
--verbose
''
env: SHOPIFY_FLAG_VERBOSE

Increase the verbosity of the output.

Anchor to -d, --development
-d, --development
''
env: SHOPIFY_FLAG_DEVELOPMENT

Pull theme files from your remote development theme.

Anchor to -e, --environment <value>
-e, --environment <value>
string
env: SHOPIFY_FLAG_ENVIRONMENT

The environment to apply to the current command.

Anchor to -l, --live
-l, --live
''
env: SHOPIFY_FLAG_LIVE

Pull theme files from your remote live theme.

Anchor to -n, --nodelete
-n, --nodelete
''
env: SHOPIFY_FLAG_NODELETE

Prevent deleting local files that don't exist remotely.

Anchor to -o, --only <value>
-o, --only <value>
string
env: SHOPIFY_FLAG_ONLY

Download only the specified files (Multiple flags allowed). Wrap the value in double quotes if you're using wildcards.

Anchor to -s, --store <value>
-s, --store <value>
string
env: SHOPIFY_FLAG_STORE

Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).

Anchor to -t, --theme <value>
-t, --theme <value>
string
env: SHOPIFY_FLAG_THEME_ID

Theme ID or name of the remote theme.

Anchor to -x, --ignore <value>
-x, --ignore <value>
string
env: SHOPIFY_FLAG_IGNORE

Skip downloading the specified files (Multiple flags allowed). Wrap the value in double quotes if you're using wildcards.


Was this page helpful?