# Rstack CLI > Rstack CLI brings the Rstack toolchain together with one CLI, one configuration, and one consistent workflow. ## Guide - [Quick start](/guide/quick-start.md): Create a Rstack project or add Rstack CLI to an existing project and configure the Rstack JavaScript toolchain. - [Configuration](/guide/configuration.md): Rstack CLI centralizes the configuration for your project's tools in a single file. Define only the configurations your project needs with the define.*() APIs. - [AI](/guide/ai.md): Use Rstack CLI with coding agents through Agent Skills, llms.txt, Markdown docs, and AGENTS.md. - [API reference](/guide/api-reference.md): Rstack CLI provides a unified configuration API and re-exports the public APIs of Rsbuild, Rslib, Rstest, and Rslint through dedicated subpaths. Prefer these subpaths to direct imports from each tool's core package so that dependency entry points stay unified and APIs match the tool versions integrated by Rstack CLI. - [Migrate to Rstack CLI](/guide/migration.md): Migrate an existing project to Rstack CLI with the recommended migration Skill. - [Testing](/guide/testing.md): Run tests with Rstack CLI, inherit application or library settings through Rstest adapters, and configure multiple test projects. - [Formatting](/guide/formatting.md): Format files with Rstack CLI using Prettier-compatible options, plugins, parallel formatting, and a persistent cache. - [Git hooks](/guide/git-hooks.md): Set up repository Git hooks with Rstack CLI and automatically lint and format staged files before each commit. - [Monorepo](/guide/monorepo.md): Use Rstack CLI to configure shared checks, formatting, staged tasks, and project workflows in a monorepo. - [IDE integration](/guide/ide-integration.md): Set up the official Rstack extension for linting, formatting, and testing in VS Code. - [dev](/guide/cli/dev.md): The rs dev command starts the Rsbuild development server for an application. It compiles the source code in development mode, watches for changes, and applies hot module replacement (HMR) or reloads the page as needed. - [build](/guide/cli/build.md): The rs build command uses Rsbuild to build an application for production. - [preview](/guide/cli/preview.md): The rs preview command uses Rsbuild to preview an application's production build locally. - [lib](/guide/cli/lib.md): The rs lib command uses Rslib to build library outputs. - [doc](/guide/cli/doc.md): Develop, build, and preview Rspress documentation sites with the rs doc command. - [test](/guide/cli/test.md): The rs test command uses Rstest to run tests. For more guidance on testing, see Testing. - [check](/guide/cli/check.md): Run linting and formatting checks together, with optional TypeScript type checking. - [lint](/guide/cli/lint.md): The rs lint command uses Rslint to lint source code. - [fmt](/guide/cli/fmt.md): The rs fmt command formats files or checks whether they are formatted. For detailed usage, see Formatting. - [hooks](/guide/cli/hooks.md): Install, configure, troubleshoot, and safely remove repository-level Git hooks with Rstack CLI. - [staged](/guide/cli/staged.md): Run lint-staged tasks against Git-staged files with the rs staged command.