bextool project scaffolding CLI docs.
bextool is an open-source project scaffolding CLI and app generator that creates production-ready starter applications from a single interactive flow.
Setting up a new project often means writing boilerplate code, configuring tedious build tooling, and structuring files from scratch before actually starting your business logic. bextool solves this by providing a comprehensive, registry-driven tool that scaffolds Frontend apps, Backend servers, Full-Stack frameworks, Mobile apps, Browser extensions, and much more.
Installation
You can install bextool globally on your machine to use it anywhere, or execute it on-the-fly using npx.
Global Installation
npm install -g bextoolExecute without installing
npx bextoolInteractive CLI scaffolding flow
Bextool offers a powerful, multi-step interactive wizard powered by @clack/prompts. Instead of remembering hundreds of flags, simply run the command and the tool will guide you.
THE PROCESS
- Select a Category: Choose the high level domain (Frontend, Backend, Mobile, Full-Stack, etc.)
- Select a Framework: Pick from the available templates inside your chosen category (React + Vite, Next.js App Router, React Native Expo).
- Metadata: Describe your project name and description.
- Framework-specific Prompts: Depending on the framework, answer custom scaffolding questions (like Target Browser for Extensions).
- Package Manager: Optionally install dependencies using npm, yarn, or pnpm. using
npm,yarnorpnpm.
CLI commands for starter generation
It usually only takes two commands to get an entire application up and running locally.
1. Launch Interactive CLI
bextool2. Launch Generated Project
cd <project-name>
# Following scripts are generated:
npm run devSupported starter templates registry
Bextool curates a massive registry of 15+ community-maintained scaffolding templates. Every template is production ready with necessary `.gitignore` files, linters usually pre-configured, and clean start architecture.
Frontend
React + Vite
Backend
Node.js + Express
Full-Stack
Next.js App Router
Mobile App
React Native (Expo)
Browser Extension
Chrome / Firefox / Edge
Static Site
Hugo
NPM Package
TS + Rollup + Vitest
CLI Tool
Commander
+ 8 more scaffolds...