# Shopify CLI 4.8 lets coding agents create and reset dev stores from the terminal

Shopify CLI 4.8 adds commands to create, list, inspect and delete development stores, making disposable Shopify test environments scriptable from terminals and coding agents. The same change introduces a 250-dev-store limit per Dev Dashboard organization, so automated workflows also need cleanup.

The useful shift is not another CLI convenience. A coding agent can now create a Shopify dev environment, populate it with existing API and bulk-operation tooling, test against it and tear it down without a person opening the Dev Dashboard.

- Status: Active
- Published: 2026-09-15T06:14:36+12:00
- Updated: 2026-09-15T06:14:36+12:00
- Categories: Artificial Intelligence, Web Development, AI Coding, Developer Tools
- Tags: Coding agents, developer environments, Shopify, Shopify CLI
- Canonical HTML: https://beyondthe.news/dossiers/shopify-cli-4-8-dev-store-automation-coding-agents

## What changed

Shopify added first-class development-store management to Shopify CLI 4.8 on September 9, 2026. New `shopify store create dev`, `shopify store list`, `shopify store info` and `shopify store delete` commands let developers manage dev stores in a Dev Dashboard organization from the terminal. Shopify explicitly frames the commands as usable from coding agents, and notes that they can be combined with the Admin API and CLI bulk operations to script workflows that create, populate and reset development or testing environments. Shopify is also adding a 250-dev-store limit per Dev Dashboard organization; client transfer stores and collaborator stores do not count toward that cap.

## Why it matters

Coding agents become much more useful when they can provision the environment they need rather than asking a human to prepare it. Shopify's new CLI surface moves dev-store lifecycle management into the same machine-operable path as code and API work, enabling more reproducible integration tests, ephemeral stores and automated cleanup. The trade-off is lifecycle control: an agent that can create environments can also accumulate them, and organizations approaching the new 250-store cap need explicit cleanup rules and sufficiently narrow permissions.

## Four commands cover the basic dev-store lifecycle

CLI 4.8 can create a development store, enumerate stores in an organization, inspect an individual store and delete a dev store when the caller has the required ownership or administrative role. Shopify's current store documentation confirms that CLI management applies to dev stores, while client transfer and collaborator stores remain Dev Dashboard workflows.

## The new commands compose with existing data tooling

Shopify says developers can combine store lifecycle commands with the Admin API and bulk-operation support already available through the CLI. That makes it possible to script a fuller test loop: create a store, seed data, run app or theme tests, then remove the environment when it is no longer needed.

## Shopify explicitly expects coding agents to use the surface

The changelog tells developers to install or update Shopify's AI Toolkit in their coding agent and use the new store commands from that environment. This matters because the capability is being designed as a supported agent workflow rather than an accidental shell interface.

## Automation now has a hard cleanup boundary

Dev Dashboard organizations are limited to 250 dev stores. Existing organizations above the cap have an extended limit for now, while new automation is expected to use `store list` and `store delete` to clean up stale stores at scale. Client transfer and collaborator stores are excluded from the count.

## Key details

- Shopify announced the new store commands on September 9, 2026.
- The commands require Shopify CLI 4.8 or later.
- `shopify store create dev` creates development stores in the organization.
- `shopify store list`, `shopify store info` and `shopify store delete` expose the rest of the supported dev-store lifecycle.
- Shopify explicitly says the commands can be used from a terminal or coding agent.
- Existing Admin API and bulk-operation support can populate scripted test environments.
- A new limit of 250 dev stores applies per Dev Dashboard organization.
- Client transfer stores and collaborator stores do not count toward the 250-store limit.

## Builder takeaways

- Treat dev stores as disposable infrastructure: give automated workflows naming, ownership and cleanup conventions from the start.
- Use the new CLI commands with seeded test data to create repeatable app and theme integration environments instead of maintaining long-lived manually prepared stores.
- Scope agent credentials and organization permissions carefully because store deletion is now available through the same machine-operable surface.
- Build cleanup around `shopify store list` before an automated workflow can approach the 250-store cap.
- Keep client-transfer and merchant-collaboration workflows separate; the CLI lifecycle commands currently target dev stores rather than every Shopify store type.

## What to watch

- Whether Shopify adds dev-store lifecycle APIs or richer JSON output specifically for CI and agents.
- Agent-oriented templates for creating, seeding, testing and destroying stores in one workflow.
- How Shopify enforces the 250-store cap for older organizations that currently exceed it.
- Whether feature-preview selection and store configuration become fully scriptable during creation.

## Uncertainties

- Shopify does not describe these dev stores as truly ephemeral; cleanup still needs to be implemented by the developer or agent workflow.
- Permissions still constrain who can delete stores, so agent automation depends on the identity and role used to run the CLI.
- The 250-store policy may evolve as Shopify observes automated use.

## Sources

- [Create and delete dev stores in Shopify CLI](https://shopify.dev/changelog/create-and-delete-dev-stores-in-shopify-cli) — Shopify · primary · 2026-09-09T00:00:00+12:00. Primary announcement for Shopify CLI 4.8 store lifecycle commands, coding-agent usage and the 250-dev-store limit.
- [Stores](https://shopify.dev/docs/apps/build/stores) — Shopify Developers · primary_documentation. Current documentation for store types, roles and the boundary that CLI management applies to dev stores.

