Using create-spree-app
The quickest way to get started. Scaffolds a full Spree project with React admin dashboard and Next.js Storefront (optional).
Requirements: Node.js 24+ with npm 9+, and Docker running. Seeing an npm error before setup starts? See Troubleshooting.
Setting up your first store
Trying Spree in a sandbox
A Spree sandbox is a free, hosted Spree store at its own*.spree.sh address. Use it to explore the admin dashboard, try the APIs, or point a storefront at it — without installing Node.js, Docker or Ruby.
- Sign in at console.spree.sh and click Create store.
- Click Open to go to its admin dashboard and manage products, orders and settings.
- To call the Admin API, create a secret key under Settings → API Keys and use it with the Spree CLI or the Admin SDK.
create-spree-app.
Project structure and overview
create-spree-app creates a project folder like this:
Using the Spree CLI
Projects scaffolded withcreate-spree-app include @spree/cli for managing the backend and calling the Admin API. Because it’s a project dependency, run it with npx (or any package-manager script):
.spree/credentials.json (and spree api mints it on first use if you skipped setup), so spree api works without any extra configuration.
To call spree directly without the npx prefix, install the CLI globally:
Next Steps
How Spree fits together
The catalog, the cart, the order and fulfillment — what each one is for, and the two APIs you build against. Twenty minutes here saves a lot of guessing later, and it ends by pointing you at whichever path suits you.
Congrats! You’ve set up your Spree application and it’s looking amazing! Give Spree a GitHub Star, why don’t ya? Thank you for supporting Spree open-source! Need support or want to give some feedback? Join our Discord

