# @react-router/dev

> Dev tools and CLI for React Router

Latest version **8.5.0** (published 2026-10-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @react-router/dev
pnpm add @react-router/dev
yarn add @react-router/dev
bun add @react-router/dev
```

Provides the command `react-router`.

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 8.5.0 |
| Published | 2026-10-19 |
| First published | 2024-04-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=22.22.0 |
| Dependencies | 23 |
| Unpacked size | 433.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Maintainers | mjackson |
| Keywords | react, router, react-router, vite, vite-plugin |

## Links

- npm: https://www.npmjs.com/package/@react-router/dev
- Repository: https://github.com/remix-run/react-router
- Homepage: https://reactrouter.com
- Issues: https://github.com/remix-run/react-router/issues
- npm.io page: https://npm.io/package/@react-router/dev

## Dependencies (23)

- [isbot](https://npm.io/package/isbot.md) ^5.1.40
- [jsesc](https://npm.io/package/jsesc.md) 3.1.0
- [p-map](https://npm.io/package/p-map.md) ^7.0.4
- [pathe](https://npm.io/package/pathe.md) ^2.0.3
- [dedent](https://npm.io/package/dedent.md) ^1.7.2
- [lodash](https://npm.io/package/lodash.md) ^4.18.1
- [semver](https://npm.io/package/semver.md) ^7.8.1
- [valibot](https://npm.io/package/valibot.md) ^1.4.1
- [chokidar](https://npm.io/package/chokidar.md) ^5.0.0
- [exit-hook](https://npm.io/package/exit-hook.md) 5.1.0
- [pkg-types](https://npm.io/package/pkg-types.md) ^2.3.1
- [picocolors](https://npm.io/package/picocolors.md) ^1.1.1
- [tinyglobby](https://npm.io/package/tinyglobby.md) ^0.2.16
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.29.7
- [@babel/types](https://npm.io/package/@babel/types.md) ^7.29.7
- [@babel/parser](https://npm.io/package/@babel/parser.md) ^7.29.7
- [react-refresh](https://npm.io/package/react-refresh.md) ^0.18.0
- [@babel/traverse](https://npm.io/package/@babel/traverse.md) ^7.29.7
- [es-module-lexer](https://npm.io/package/es-module-lexer.md) ^2.1.0
- [@babel/generator](https://npm.io/package/@babel/generator.md) ^7.29.7
- [@react-router/node](https://npm.io/package/@react-router/node.md) 8.5.0
- [babel-dead-code-elimination](https://npm.io/package/babel-dead-code-elimination.md) ^1.0.12
- [@remix-run/node-fetch-server](https://npm.io/package/@remix-run/node-fetch-server.md) ^0.14.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 8.5.0 (latest) — 2026-10-19
- 0.0.0-experimental-f1bb8ea3f (experimental) — 2026-10-14
- 7.18.4 (version-7) — 2026-09-15
- 8.0.0-pre.1 (pre) — 2026-06-16
- 0.0.0-nightly-4547c8015-20260410 (nightly) — 2026-04-10
- 8.4.0 — 2026-09-15
- 0.0.0-experimental-f20bcf6de — 2026-09-15
- 0.0.0-experimental-7aea711dd — 2026-09-02
- 8.3.1 — 2026-08-28
- 7.18.3 — 2026-08-28
- 0.0.0-experimental-917e6fdc0 — 2026-08-27
- 0.0.0-experimental-320d16107 — 2026-08-07
- 0.0.0-experimental-2a01b6fd8 — 2026-08-07
- 0.0.0-experimental-479e73b7b — 2026-08-05
- 7.18.2 — 2026-07-28
- … 717 more at https://npm.io/package/@react-router/dev/versions

## README

[![npm package][npm-badge]][npm] [![build][build-badge]][build]

[npm-badge]: https://img.shields.io/npm/v/react-router.svg
[npm]: https://www.npmjs.org/package/react-router
[build-badge]: https://img.shields.io/github/actions/workflow/status/remix-run/react-router/test-unit.yml?branch=main&style=square
[build]: https://github.com/remix-run/react-router/actions/workflows/test-unit.yml

React Router is a multi-strategy router for React. You can use it maximally as a React framework or minimally as a library with your own architecture.

- [Getting Started - Framework](https://reactrouter.com/start/framework/installation)
- [Getting Started - Library](https://reactrouter.com/start/library/installation)
- [Upgrade from v7](https://reactrouter.com/upgrading/v7)
- [Changelog](https://github.com/remix-run/react-router/blob/main/CHANGELOG.md)

## Packages

- [`react-router`](./packages/react-router)
- [`create-react-router`](./packages/create-react-router)
- [`@react-router/dev`](./packages/react-router-dev)
- [`@react-router/node`](./packages/react-router-node)
- [`@react-router/serve`](./packages/react-router-serve)
- [`@react-router/express`](./packages/react-router-express)
- [`@react-router/architect`](./packages/react-router-architect)
- [`@react-router/cloudflare`](./packages/react-router-cloudflare)
- [`@react-router/fs-routes`](./packages/react-router-fs-routes)

## Previous Versions

- [v7](https://reactrouter.com/v7)
- [v6](https://reactrouter.com/v6)
- [v5](https://v5.reactrouter.com/)

---
_Source: https://npm.io/package/@react-router/dev · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
