# 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): Configure Rstack tools with define APIs in rstack.config.ts, including application builds, tests, linting, and formatting. - [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): Public Rstack APIs, including configuration helpers, tool API re-exports, and TypeScript declarations. - [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): Start the Rsbuild dev server with rs dev, including HMR, host and port options, and define.app() configuration. - [build](/guide/cli/build.md): Build applications for production with rs build and configure Rsbuild output through define.app(). - [preview](/guide/cli/preview.md): Preview an application production build locally with rs preview after running rs build. - [lib](/guide/cli/lib.md): Build and develop libraries with rs lib, including build, inspect, and mf-dev commands. - [doc](/guide/cli/doc.md): Develop, build, and preview Rspress documentation sites with the rs doc command. - [test](/guide/cli/test.md): Run Rstest through rs test, including test execution, watch mode, filtering, and coverage. - [check](/guide/cli/check.md): Run linting and formatting checks together, with optional TypeScript type checking. - [lint](/guide/cli/lint.md): Lint source code with rs lint, apply automatic fixes, run type checking, and configure presets through define.lint(). - [fmt](/guide/cli/fmt.md): Format files or check formatting with rs fmt, including file selection, ignore rules, caching, and stdin input. - [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.