Rstack CLI is a unified local CLI for web development.
It provides one entry point for Rsbuild, Rslib, Rstest, Rslint, and Rspress, with built-in formatting support via Oxfmt and staged-file task support via lint-staged.
It fits into your existing workflow instead of taking it over. Use it alongside pnpm, Turborepo, Nx, Bun, or whatever already works for your project.
- Unified local CLI: run Rstack tools through a single
rscommand - Single configuration: configure all tools from one configuration file
Install rstack in your project and call it from package scripts:
# npm
npm add -D rstack
# pnpm
pnpm add -D rstack
# yarn
yarn add -D rstack
# bun
bun add -d rstack{
"scripts": {
"dev": "rs dev",
"build": "rs build",
"preview": "rs preview",
"lib": "rs lib",
"test": "rs test",
"staged": "rs staged"
}
}Then run the scripts with your preferred package manager:
pnpm dev
pnpm build
pnpm preview
pnpm lib
pnpm testRstack CLI is inspired by:
MIT.