# The dash4devs CLI

> Scaffold a store, build it, ship its assets to the CDN.

Source: https://docs.dashfordevs.com/v1/sdk/cli · Topic: The dash4devs SDK · Updated: 2026-11-07

| Command | What it does |
| --- | --- |
| `npx dash4devs init` | Scaffold a new storefront wired to your organization. |
| `npx dash4devs build` | `next build`, then upload `.next/static` and `public/` to the CDN and switch the site to them atomically. |
| `npx dash4devs deploy` | Build and deploy. |
| `npx dash4devs status` | Which build is live, and whether the CDN has every asset. |

`build` needs a secret key in the environment. Without one, or if the upload fails, it finishes as a plain `next build` with the site serving its own assets, so a CDN problem never takes your site down.

Deploying to [DashForDevs Cloud](https://docs.dashfordevs.com/v1/cloud)? Cloud builds from your GitHub repository on every push; you do not need to run the CLI yourself.
