---
title: theme rename
description: Renames a theme in your store.
source_url:
  html: 'https://shopify.dev/docs/api/shopify-cli/theme/theme-rename'
  md: 'https://shopify.dev/docs/api/shopify-cli/theme/theme-rename.md'
api_name: shopify-cli
---

# theme rename

Renames a theme in your store.

If no theme is specified, then you're prompted to select the theme that you want to rename from the list of themes in your store.

#### Flags

The following flags are available for the `theme rename` command:

* **--auth-alias \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_AUTH\_ALIAS**

  Alias of the Shopify account to use for authentication.

* **--json-schema**

  **env: SHOPIFY\_FLAG\_JSON\_SCHEMA**

  Print the command's JSON schemas.

* **--no-color**

  **env: SHOPIFY\_FLAG\_NO\_COLOR**

  Disable color output.

* **--no-input**

  **env: SHOPIFY\_FLAG\_NO\_INPUT**

  Disable interactive prompts and browser authentication.

* **--password \<value>**

  **string**

  **env: SHOPIFY\_CLI\_THEME\_TOKEN**

  Password generated from the Theme Access app or an Admin API token.

* **--path \<value>**

  **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. May include sensitive data.

* **-d, --development**

  **env: SHOPIFY\_FLAG\_DEVELOPMENT**

  Rename your development theme. Use --development, --live, or --theme in non-interactive environments.

* **-e, --environment \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_ENVIRONMENT**

  The environment to apply to the current command.

* **-l, --live**

  **env: SHOPIFY\_FLAG\_LIVE**

  Rename your remote live theme. Use --development, --live, or --theme in non-interactive environments.

* **-n, --name \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_NEW\_NAME**

  The new name for the theme. Required if non interactive.

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

* **-t, --theme \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_THEME\_ID**

  Theme ID or name of the remote theme. Use --development, --live, or --theme in non-interactive environments.

### Examples

* #### Theme rename

  ##### theme rename

  ```sh
  shopify theme rename [flags]
  ```

***
