Shopify CLI Docs

shopify theme share

Creates a shareable, unpublished, and new theme on your theme library with a randomized name.

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.

Usage

shopify theme share [flags]

Summary

Creates a shareable, unpublished, and new theme on your theme library with a randomized name.

Flags

  • --listing <value> string — The listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory. optional Environment: SHOPIFY_FLAG_LISTING.
  • --no-color — Disable color output. optional Environment: SHOPIFY_FLAG_NO_COLOR.
  • --password <value> string — Password generated from the Theme Access app or an Admin API token. optional Environment: SHOPIFY_CLI_THEME_TOKEN.
  • --path <value> string — The path where you want to run the command. Defaults to the current working directory. optional Environment: SHOPIFY_FLAG_PATH.
  • --verbose — Increase the verbosity of the output. optional Environment: SHOPIFY_FLAG_VERBOSE.
  • -e, --environment <value> string — The environment to apply to the current command. optional Environment: SHOPIFY_FLAG_ENVIRONMENT.
  • -s, --store <value> string — Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com). optional Environment: SHOPIFY_FLAG_STORE.

Official source

On this page