--- api_name: shopify-cli source_url: html: 'https://shopify.dev/docs/api/shopify-cli/theme' md: 'https://shopify.dev/docs/api/shopify-cli/theme.md' --- # Shopify CLI Theme commands [theme check](https://shopify.dev/docs/api/shopify-cli/theme/theme-check) [Calls and runs Theme Check to analyze your theme code for errors and to ensure that it follows theme and Liquid best practices.](https://shopify.dev/docs/api/shopify-cli/theme/theme-check) [theme console](https://shopify.dev/docs/api/shopify-cli/theme/theme-console) [Starts the Shopify Liquid REPL (read-eval-print loop) tool.](https://shopify.dev/docs/api/shopify-cli/theme/theme-console) [theme delete](https://shopify.dev/docs/api/shopify-cli/theme/theme-delete) [Deletes a theme from your store.](https://shopify.dev/docs/api/shopify-cli/theme/theme-delete) [theme dev](https://shopify.dev/docs/api/shopify-cli/theme/theme-dev) [Uploads the current theme as the specified theme, or a development theme, to a store so you can preview it.](https://shopify.dev/docs/api/shopify-cli/theme/theme-dev) [theme duplicate](https://shopify.dev/docs/api/shopify-cli/theme/theme-duplicate) [If you want to duplicate your local theme, you need to run `shopify theme push` first.](https://shopify.dev/docs/api/shopify-cli/theme/theme-duplicate) [theme info](https://shopify.dev/docs/api/shopify-cli/theme/theme-info) [Displays information about your theme environment, including your current store.](https://shopify.dev/docs/api/shopify-cli/theme/theme-info) [theme init](https://shopify.dev/docs/api/shopify-cli/theme/theme-init) [Clones a Git repository to your local machine to use as the starting point for building a theme.](https://shopify.dev/docs/api/shopify-cli/theme/theme-init) [theme language-server](https://shopify.dev/docs/api/shopify-cli/theme/theme-language-server) [Starts the Language Server.](https://shopify.dev/docs/api/shopify-cli/theme/theme-language-server) [theme list](https://shopify.dev/docs/api/shopify-cli/theme/theme-list) [Lists the themes in your store, along with their IDs and statuses.](https://shopify.dev/docs/api/shopify-cli/theme/theme-list) [theme metafields pull](https://shopify.dev/docs/api/shopify-cli/theme/theme-metafields-pull) [Retrieves metafields from Shopify Admin.](https://shopify.dev/docs/api/shopify-cli/theme/theme-metafields-pull) [theme open](https://shopify.dev/docs/api/shopify-cli/theme/theme-open) [Returns links that let you preview the specified theme.](https://shopify.dev/docs/api/shopify-cli/theme/theme-open) [theme package](https://shopify.dev/docs/api/shopify-cli/theme/theme-package) [Packages your local theme files into a ZIP file that can be uploaded to Shopify.](https://shopify.dev/docs/api/shopify-cli/theme/theme-package) [theme profile](https://shopify.dev/docs/api/shopify-cli/theme/theme-profile) [Profile the Shopify Liquid on a given page.](https://shopify.dev/docs/api/shopify-cli/theme/theme-profile) [theme publish](https://shopify.dev/docs/api/shopify-cli/theme/theme-publish) [Publishes an unpublished theme from your theme library.](https://shopify.dev/docs/api/shopify-cli/theme/theme-publish) [theme pull](https://shopify.dev/docs/api/shopify-cli/theme/theme-pull) [Retrieves theme files from Shopify.](https://shopify.dev/docs/api/shopify-cli/theme/theme-pull) [theme push](https://shopify.dev/docs/api/shopify-cli/theme/theme-push) [Uploads your local theme files to Shopify, overwriting the remote version if specified.](https://shopify.dev/docs/api/shopify-cli/theme/theme-push) [theme rename](https://shopify.dev/docs/api/shopify-cli/theme/theme-rename) [Renames a theme in your store.](https://shopify.dev/docs/api/shopify-cli/theme/theme-rename) [theme share](https://shopify.dev/docs/api/shopify-cli/theme/theme-share) [Uploads your theme as a new, unpublished theme in your theme library.](https://shopify.dev/docs/api/shopify-cli/theme/theme-share)