shopify themekit download code example

Example: shopify theme kit

# After installed Themekit locally and setup Private App API Key

# To get a list of all the themes in Shopify store
theme get --list -p=[your-password] -s=[you-store.myshopify.com]

# To download theme to workspace (folder)
theme get -p=[your-password] -s=[you-store.myshopify.com] -t=[your-theme-id]

# Watch theme kit for changes 
theme watch

# If you want hotreload for a better DX install and use browser-sync
npm install -g browser-sync

# To use browser-sync
browser-sync start --proxy "https://<mystore>.myshopify.com/" --files "*/*.*" --reload-delay 1000