Skip to main content
Back to changelog

Create and delete dev stores in Shopify CLI

Shopify CLI 4.8 adds shopify store commands that let you create and manage dev stores from your terminal or coding agent. These commands are available after you update to Shopify CLI 4.8.

What changed

You can now use the following commands to manage dev stores in your Dev Dashboard organization:

  • shopify store create dev creates dev stores in your organization for building and testing apps, themes, and Shopify features.
  • shopify store delete deletes dev stores when run by a store owner, organization owner, or organization administrator.
  • shopify store list lists the stores in an organization.
  • shopify store info returns information about an individual store.

Combined with the Admin API and bulk operation support that’s already available in Shopify CLI, you can script workflows that create, populate, and reset development and testing environments for your app or theme.

Shopify is also introducing a new limit of 250 dev stores per organization. You can use shopify store delete to remove old stores, and script against shopify store list to clean up at scale. This limit doesn’t apply to client transfer stores or collaborator stores.

Who’s affected

The 250-store limit applies only to dev stores in a Dev Dashboard organization. Client transfer stores and collaborator stores aren’t counted toward this limit. At this time organizations that currently have more than 250 dev stores have been granted an extended limit.

What to do

  1. Update to Shopify CLI 4.8 or later.
  2. Install or update to the latest AI Toolkit in your coding agent.
  3. Use shopify store create dev, shopify store list, shopify store info, and shopify store delete to manage dev stores directly from your terminal or coding agent.
  4. If your organization is approaching the 250 dev store limit, script a cleanup workflow that uses shopify store list to find old stores and shopify store delete to remove them.

Related docs

Was this page helpful?