---
title: theme package
description: >-
  Packages your local theme files into a ZIP file that can be uploaded to
  Shopify.
source_url:
  html: 'https://shopify.dev/docs/api/shopify-cli/theme/theme-package'
  md: 'https://shopify.dev/docs/api/shopify-cli/theme/theme-package.md'
api_name: shopify-cli
---

# theme package

Packages your local theme files into a ZIP file that can be uploaded to Shopify.

Only folders that match the [default Shopify theme folder structure](https://shopify.dev/docs/storefronts/themes/tools/cli#directory-structure) are included in the package.

The package includes the `listings` directory if present (required for multi-preset themes per [Theme Store requirements](https://shopify.dev/docs/storefronts/themes/store/requirements#adding-presets-to-your-theme-zip-submission)).

The ZIP file uses the name `theme_name-theme_version.zip`, based on parameters in your [settings\_schema.json](https://shopify.dev/docs/storefronts/themes/architecture/config/settings-schema-json) file.

#### Flags

The following flags are available for the `theme package` 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.

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

### Examples

* #### Theme package

  ##### theme package

  ```sh
  shopify theme package [flags]
  ```

***
