Installing TanStack Router
Use npm or yarn to install TanStack Router into your project. Example illustrates installation command.
npm install @tanstack/react-router
This command installs the TanStack Router package into your project using npm. It's a modern, lightweight router library that supports TypeScript out of the box.