| name | scbe-shopify-cli-windows |
| description | Bootstrap and operate Shopify CLI on Windows for theme and app development, then bridge Shopify credentials into SCBE connector registration. Use when asked to install Shopify CLI, validate Node/npm/Git prerequisites, run theme/app workflows, troubleshoot CLI issues, or wire Shopify Admin token flows into SCBE automation. |
SCBE Shopify CLI Windows
Use this skill for deterministic Windows PowerShell execution.
Prerequisites
- Node.js
20.10+
- npm available in PATH
- Git available in PATH
- Modern browser for auth
Install + Verify
node -v
npm -v
git --version
npm install -g @shopify/cli@latest
shopify version
shopify help
Auth
shopify auth login --store your-store.myshopify.com
If auth command differs by CLI release, run a dev command with --store and complete browser login prompt.
Theme Workflow
shopify theme init
cd .\<theme-dir>
shopify theme dev --store your-store.myshopify.com
shopify theme pull --store your-store.myshopify.com
shopify theme push --unpublished --store your-store.myshopify.com
shopify theme publish --store your-store.myshopify.com
shopify theme check
App Workflow
npm init @shopify/app@latest
cd .\<app-dir>
shopify app dev --store your-dev-store.myshopify.com
shopify app generate extension
shopify app deploy
Bridge To SCBE Connector
After obtaining Admin API token from Shopify custom app:
- Register
kind=shopify connector via /mobile/connectors.
- Use header auth
X-Shopify-Access-Token.
- Keep default runs in read-safe mode first.
Troubleshooting
shopify not recognized -> reopen shell and verify %APPDATA%\npm in PATH.
- Node version error -> upgrade Node to
20.10+.
- Auth loop/login failure ->
shopify auth logout, then login again.
- Webhook/proxy local issues -> use tunnel mode instead of localhost-only assumptions.
Output Contract
Return:
- Installed CLI version.
- Auth status + target store.
- Selected path (
theme or app) and exact next commands.
- If requested, SCBE connector payload with redacted token placeholder.