--- title: theme open description: >- Returns links that let you preview the specified theme. The following links are returned: - A link to the [editor](/docs/themes/tools/online-editor) for the theme in the Shopify admin. - A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with other developers. If you don't specify a theme, then you're prompted to select the theme to open from the list of the themes in your store. api_name: shopify-cli source_url: html: 'https://shopify.dev/docs/api/shopify-cli/theme/theme-open' md: 'https://shopify.dev/docs/api/shopify-cli/theme/theme-open.md' --- # theme open Returns links that let you preview the specified theme. The following links are returned: * A link to the [editor](https://shopify.dev/docs/themes/tools/online-editor) for the theme in the Shopify admin. * A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with other developers. If you don't specify a theme, then you're prompted to select the theme to open from the list of the themes in your store. ## Flags The following flags are available for the `theme open` 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. * **-d, --development** **env: SHOPIFY\_FLAG\_DEVELOPMENT** Open your development theme. * **-E, --editor** **env: SHOPIFY\_FLAG\_EDITOR** Open the theme editor for the specified theme in the browser. * **-e, --environment \** **string** **env: SHOPIFY\_FLAG\_ENVIRONMENT** The environment to apply to the current command. * **-l, --live** **env: SHOPIFY\_FLAG\_LIVE** Open your live (published) theme. * **-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, ). * **-t, --theme \** **string** **env: SHOPIFY\_FLAG\_THEME\_ID** Theme ID or name of the remote theme. Examples ### Examples * #### theme open ##### theme open ```bash shopify theme open [flags] ```