Shopify CLI Theme commands
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.
theme console
Starts the Shopify Liquid REPL (read-eval-print loop) tool.
theme delete
Deletes a theme from your store.
theme dev
Uploads the current theme as the specified theme, or a development theme, to a store so you can preview it.
theme duplicate
If you want to duplicate your local theme, you need to run shopify theme push first.
theme info
Displays information about your theme environment, including your current store.
theme init
Clones a Git repository to your local machine to use as the starting point for building a theme.
theme language-server
Starts the Language Server.
theme list
Lists the themes in your store, along with their IDs and statuses.
theme metafields pull
Retrieves metafields from Shopify Admin.
theme open
Returns links that let you preview the specified theme.
theme package
Packages your local theme files into a ZIP file that can be uploaded to Shopify.
theme profile
Profile the Shopify Liquid on a given page.
theme publish
Publishes an unpublished theme from your theme library.
theme pull
Retrieves theme files from Shopify.
theme push
Uploads your local theme files to Shopify, overwriting the remote version if specified.
theme rename
Renames a theme in your store.
theme share
Uploads your theme as a new, unpublished theme in your theme library.