--- title: theme share description: >- 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](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others. api_name: shopify-cli source_url: html: 'https://shopify.dev/docs/api/shopify-cli/theme/theme-share' md: 'https://shopify.dev/docs/api/shopify-cli/theme/theme-share.md' --- # 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](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others. ## Flags The following flags are available for the `theme share` command: * **--no-color** **env: SHOPIFY\_FLAG\_NO\_COLOR** Disable color output. * **--password \** **string** **env: SHOPIFY\_CLI\_THEME\_TOKEN** Password generated from the Theme Access app or an Admin API token. * **--path \** **string** **env: SHOPIFY\_FLAG\_PATH** The path where you want to run the command. Defaults to the current working directory. * **--verbose** **env: SHOPIFY\_FLAG\_VERBOSE** Increase the verbosity of the output. * **-e, --environment \** **string** **env: SHOPIFY\_FLAG\_ENVIRONMENT** The environment to apply to the current command. * **-s, --store \** **string** **env: SHOPIFY\_FLAG\_STORE** Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, ). Examples ### Examples * #### theme share ##### theme share ```bash shopify theme share [flags] ```