shopify theme push

Uploads your local theme files to Shopify, overwriting the remote theme if specified

Options

NameDescription
--theme, -t <NAME_OR_ID>The name or ID of the theme that you want to overwrite
--store, -s <store>The development store that you want to use to preview your theme
--path <path>The path to your theme directory
--development, -dPushes to your development theme. If you don't have a development theme, then one is created. This option doesn't require --theme
--nodelete, -nPushes your local files without deleting remote files from Shopify
--json, -jReturns information about the pushed theme as a JSON object
--allow-live, -aAllows Shopify CLI to overwrite the live (published) theme
--live, -lPushes to the live (published) theme. This option doesn't require --theme or --allow-live
--publish, -pAfter the theme is pushed, publishes the theme so it is live in the store
--unpublished, -uUploads the theme to the theme library as a new unpublished theme.You're prompted to provide a name for the theme. Use the --theme flag to provide a name as a part of the command
--ignore, -xSkips uploading the specified files to Shopify. Specify multiple patterns to ignore by using the flag multiple times in a single command. If files are excluded using .shopifyignore, then both the contents of .shopifyignore and the --ignore flag are respected
--only, -oUploads only the specified files to Shopify. Specify multiple patterns by using the flag multiple times in a single command