Migrate from Theme Kit

November 10, 2021 ยท View on GitHub

Shopify CLI is the recommended and officially supported tool for developing Themes and creating CI/CD workflows.

This guide shows how to achieve equivalent flows with the new version of the CLI.

Equivalent commands

Theme Kit CommandShopify CLI EquivalentObjective
theme deployshopify theme pushDeploy a local (to the CLI) version of the Theme in the current working directory to a remote store.
theme newshopify theme initScaffold a new theme. In the case of the CLI it clones Dawn to be used as a reference Theme. Alternatively, it's possible to simply clone Dawn git clone git@github.com:Shopify/dawn.git and use it with the CLI.
theme downloadshopify theme pullDownload your remote theme files.
theme watch & theme openshopify theme serveStart a theme server to locally preview changes with CSS & Section hot reload enabled
-shopify theme checkRun the Theme Check linter on your theme codebase.
-shopify theme publishSet a remote theme as the live theme.
-shopify theme packagePack your Theme as a zip file ready for distribution and submission to the Theme Store.
theme removeshopify theme deleteTheme kit removes files from the Theme whereas Shopify CLI will remotely destroy the specified theme.