Shopify CLI Commands
All commands target the Citera store. Set it once to save typing:
export SHOP=citera-yhzgew4z.myshopify.comAuthentication
# Sign out of every cached account
shopify auth logout
# There is no explicit login — the next command that needs the store
# opens a browser to authenticate and caches the session.
shopify theme list --store=$SHOPThemes
| Command | Description |
|---|---|
shopify theme list --store=$SHOP | List all themes with their role and id |
shopify theme pull --store=$SHOP --theme=<id> | Download a specific theme |
shopify theme pull --store=$SHOP --live | Download whichever theme is live |
shopify theme dev --store=$SHOP | Local dev server with hot reload |
shopify theme push --store=$SHOP --unpublished --theme="Citera QA" | Upload to a new unpublished theme |
shopify theme push --store=$SHOP --theme=<id> | Upload to an existing theme by id |
shopify theme check | Lint the theme (Theme Check) |
shopify theme open --store=$SHOP --theme=<id> | Open the theme in the browser |
shopify theme share --store=$SHOP | Upload to a shareable, unpublished preview |
shopify theme delete --store=$SHOP --theme=<id> | Delete a theme |
Reference: current Citera themes
| Theme | Role | Id |
|---|---|---|
| Citera | live | 155731558590 |
| Development (…-MacBook-Pro) | development | 155731525822 |
Pull the live theme (quickstart)
shopify theme pull \
--store=$SHOP \
--theme=155731558590 \
--path=./citera-shopify-themeshopify theme push overwrites the target theme’s files. Always push to an
unpublished theme first (--unpublished) and publish from the Admin once
you’ve reviewed the preview.
Linting before push
cd citera-shopify-theme
shopify theme checkTheme Check catches Liquid errors, deprecated filters, performance issues and accessibility problems. Fix (or explicitly ignore) findings before pushing.