Skip to main content

theme share

Uploads your theme as a new, unpublished theme in your theme library. The theme is given a randomized name.

This command returns a preview link that you can share with others.

The following flags are available for the theme share command:

Anchor to --listing <value>
--listing <value>
string
env: SHOPIFY_FLAG_LISTING

The listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory.

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 -e, --environment <value>
-e, --environment <value>
string
env: SHOPIFY_FLAG_ENVIRONMENT

The environment to apply to the current command.

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

Examples

theme share

shopify theme share [flags]
Was this page helpful?