Build your stack. Instantly.
The CLI companion to Stacker scaffold a production-ready project in one command from a template.
You configure your stack on stacker.ranveersoni.me/create — pick a framework, UI system, auth, ORM, API layer, and TanStack add-ons — and the site gives you a short template ID.
The CLI takes that ID, fetches your configuration, and runs the right scaffolding commands in the right order — automatically:
bunx @stacker-oss/cli xCjNK1
# bun (recommended)
bunx @stacker-oss/cli <templateId>
# pnpm
pnpm dlx @stacker-oss/cli <templateId>
# npm
npx @stacker-oss/cli <templateId>
# yarn
yarn dlx @stacker-oss/cli <templateId>bunx @stacker-oss/cli xCjNK1Fetches the template, shows you a full plan, asks for confirmation, then runs.
bunx @stacker-oss/cliPrompts you to enter a template ID if you don't pass one.
| Flag | Description |
|---|---|
[templateId] |
Template ID from stacker.ranveersoni.me |
-d, --dir <dir> |
Target directory (defaults to project name from template) |
--api <url> |
Override the Stacker API base URL |
-y, --yes |
Skip the confirmation prompt and run immediately |
-h, --help |
Show help |
-v, --version |
Show version |
# scaffold to a specific folder
bunx @stacker-oss/cli xCjNK1 --dir my-app
# skip confirmation (great for CI)
bunx @stacker-oss/cli xCjNK1 --yes
# point at a self-hosted Stacker instance
bunx @stacker-oss/cli xCjNK1 --api https://stacker.ranveersoni.me| Framework | Scaffolder used |
|---|---|
| Next.js | create-next-app@latest |
| Vite | create-vite@latest |
| TanStack Start | @tanstack/cli create |
| React Router | create-react-router@latest |
| Astro | create astro@latest |
| Laravel | laravel new |
# clone the repo
git clone https://github.com/StackerOSS/CLI
cd CLI
# install dependencies
bun install
# run in dev mode
bun run start
# compile to a single native binary
bun run buildThe compiled binary (stacker.exe on Windows, stacker elsewhere) is self-contained
and needs no runtime.
| Variable | Description |
|---|---|
STACKER_API_BASE |
Override the default API URL (https://stacker.ranveersoni.me) |
Made with <3 and a lot of bad decisions! · stacker.ranveersoni.me