npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

simplified-shopify-cli

v0.1.5

Published

Configurable store aliases and shortcuts for Shopify theme development

Readme

Simplified Shopify CLI

Short commands for Shopify themes: sd to develop, sp to pull, and sl to list themes. The customizable store abreviations mapping lets you assign short aliases to your Shopify stores for even quicker switching and command usage.

Download the one-page cheat sheet (PDF)

1. Install

Install Node.js 22.12 or newer, then run:

npm install -g @shopify/cli simplified-shopify-cli

Works on macOS, Linux, and Windows. No extra setup for macOS/zsh.

PowerShell: use npm.cmd and commands such as si.cmd and sp.cmd, or enable short commands.

2. Store Abreviations Mapping

Personal config is created automatically on first use at ~/.sshop.json.

| Command | Description | | ----------------------------- | ------------------------------- | | sstores add <alias> <store> | Add or update a store alias | | sstores remove <alias> | Remove a store alias | | sstores . | Edit stores in your config file |

Example ~/.sshop.json:

{
  "version": 1,
  "stores": {
    "sto": "example-store.myshopify.com",
    "san": "example-sandbox.myshopify.com"
  },
  "defaultStore": "san",
  "defaults": {
    "nodelete": true, // keep local files when pulling
    "themeEditorSync": true // sync Theme Editor changes during dev
  }
}

3. Start working

Open your theme project folder in a terminal, then select your store:

si demo

Log in if prompted. Then omit the store abbreviation:

sl
sd "My Theme"

Use si to check the store or si another-alias to switch. Check the store when switching projects. A configured defaultStore overrides the remembered store; see configuration.

Command cheat sheet

Run theme commands from your theme project folder. Put quotes around theme names with spaces. <store_abr> means the short name you configured, such as san.

| Command | What it does | | ---------------- | ------------------------------------------- | | si <store_abr> | Select a store | | si | Show current store and theme | | sl | List themes | | sd | Start a development theme | | sd "My Theme" | Develop a named theme with editor sync | | sp | Pull the live theme | | sp "My Theme" | Pull a named theme | | sp -p | Pull only live template/config JSON | | spl "My Theme" | Pull named theme template/config JSON | | sp -d | Pull the development theme | | spa | Pull live; may delete unmatched local files | | sc | Check theme code | | sf | Fix supported code issues | | lo | Log out of Shopify | | shelp | Show help |

Options

| Option | Example | Meaning | | ------------------------- | -------------------------- | ------------------------------------------------------------------ | | -g / --global | sinit -g | Personal config (sinit, simport; sstores defaults to global) | | -d / --development | sp -d | Development theme (sp, spl, spa, si) | | -p PORT / --port PORT | sd -p 9293 | Change the development port | | -p / --json-only | sp -p | Pull only template/config JSON | | -j / --json | sl -j | JSON output (sl, si) | | --dry-run | sd "My Theme" --dry-run | Preview without running | | -s and -t | sd -s demo -t "My Theme" | Choose store and theme |

Before running commands: sp overwrites matching local files; spa can also delete unmatched files. sd uploads and continuously syncs changes to the selected remote theme. sf changes local code. Use --dry-run to check your target first.

Manage your stores

| Command | What it does | | --------------------------------------- | ----------------------------------------- | | sstores | List store aliases | | sstores add <store_abr> example-store | Add or update an alias | | sstores remove <store_abr> | Remove an alias | | sconfig | Show settings and config locations | | sstores . | Open your personal stores config | | sinit | Create a project config | | sinit -g | Create personal config (never overwrites) | | simport ./base_custom_cli.sh -g | Import legacy store aliases |

sinit creates config. si selects a store. Keep credentials out of .sshop.json. Keep personal project configs out of Git.

Shell setup

Windows PowerShell: use commands without .cmd

If your PowerShell profile allows scripts, add:

. ([scriptblock]::Create((sshop.cmd shell powershell | Out-String)))

This replaces PowerShell aliases such as sp, sl, and si. To undo, remove the line and restart PowerShell.

Command Prompt needs no setup. For WSL, install Node and both CLIs inside WSL.

macOS/zsh or Bash: replace older Shopify aliases

If old Shopify aliases override these commands, remove them or add this after them in your shell profile:

eval "$(sshop shell)"

Restart your terminal.

Configuration

Optional settings

  • Personal config: ~/.sshop.json (macOS/Linux) or %USERPROFILE%\.sshop.json (Windows).
  • Project config: .sshop.json; overrides personal settings. Omit -g to edit it.
  • Run sconfig to see your settings.

Set defaultStore to an alias for a fixed store, or null to use the remembered store. si does not change this setting. Example config.

Use sd --config "./custom.json" to load a specific config file.

If a theme name matches a store alias, use -t "Theme Name". Use -s STORE for an unconfigured store prefix.

Put extra Shopify options after --: sd -- --verbose. Keep store/theme options and --dry-run before --.

Uninstall

npm uninstall -g simplified-shopify-cli

Remove any optional shell profile line too. Your config files are kept.

MIT License