Skip to main content

theme delete
command

Deletes a theme from your store.

You can specify multiple themes by ID. If no theme is specified, then you're prompted to select the theme that you want to delete from the list of themes in your store.

You're asked to confirm that you want to delete the specified themes before they are deleted. You can skip this confirmation using the --force flag.

The following flags are available for the theme delete command:

env: SHOPIFY_FLAG_NO_COLOR

Disable color output.

string
env: SHOPIFY_CLI_THEME_TOKEN

Password generated from the Theme Access app.

string
env: SHOPIFY_FLAG_PATH

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

env: SHOPIFY_FLAG_VERBOSE

Increase the verbosity of the output.

env: SHOPIFY_FLAG_SHOW_ALL

Include others development themes in theme list.

env: SHOPIFY_FLAG_DEVELOPMENT

Delete your development theme.

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

The environment to apply to the current command.

env: SHOPIFY_FLAG_FORCE

Skip confirmation.

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).

string
env: SHOPIFY_FLAG_THEME_ID

Theme ID or name of the remote theme.

Was this section helpful?

Theme delete

shopify theme delete [flags]