@battlestack/cli

Battlestack CLI engine — open-source scaffolding tool. Loads extra capabilities from installed battlestack plugins. Install/run via the unscoped `battlestack` wrapper (`npx battlestack`).
918 3
Install
npm install @battlestack/cli
Latest Version:1.4.0
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: joris-sevenlab

@battlestack/cli

The battlestack CLI engine. Users don't install this package directly — the unscoped battlestack wrapper (published in version lockstep) is the entry point that provides the battlestack/bstack commands and makes npx battlestack resolve.

battlestack is a plugin-based scaffolding CLI for Nuxt 4. Answer a few prompts and it hands you a running app — not a folder of TODOs you still have to wire together.

npx battlestack@latest my-app

That works from a bare Node install. pnpm dlx battlestack@latest my-app and bunx battlestack@latest my-app do the same thing if you already have those on PATH. Requires Node >=24.

--pm <pnpm|npm|bun> sets the package manager for the generated project — independent of whichever one ran the command above. Node 25 dropped bundled Corepack, so a fresh machine commonly has npm and nothing else: if pnpm dlx isn't available yet, npm install -g pnpm, or just add --pm npm and skip pnpm entirely.

Non-interactive (CI, scripts): add --yes.

Templates

Template Gets you
nuxt4-minimal Nuxt 4 + UI v4 + Tailwind v4 only. No backend, no auth.
nuxt4-fullstack Nuxt + UI + i18n + Postgres + Drizzle + custom auth + Mastra + Docker.
nuxt4-ai Full stack + Mastra agents + WebSocket streaming chat via an OpenAI-compatible AI gateway (sluis.ai preset, 50k free tokens) + Docker. RAG opt-in.

Each also prompts for optional features on top — storage, PWA, CI workflows, passkeys, and more, depending on the template.

This package

battlestack is the CLI entry point. It composes three siblings:

Installing battlestack pulls all three; you don't need to depend on them directly unless you're writing a plugin.

Full documentation, architecture notes and contribution guide: https://github.com/SevenLabnl/battlestack

License

MIT © SevenLab

Related Packages

battlestack

Battlestack — plugin-based scaffolding CLI for Nuxt 4. This unscoped package is...

938 3
@brokuka/nuxt-starter

CLI for scaffolding a Nuxt 3 or Nuxt 4 project with ESLint configured out of the...

1,566 0
create-prism-app

Scaffold a production-grade, opinionated full-stack starter in seconds — Vue, Nu...

970 0
create-precast-app

CLI tool to scaffold modern web applications with your chosen stack

2,096 2
@battlestack/preset-nuxt4

Public Battlestack preset: Nuxt 4 framework + open-source features. (Versioned f...

986 3

Version History

Version Released License
1.4.0 MIT
1.3.0 MIT
1.2.0 MIT
1.1.0 MIT
1.0.0 MIT