Blog>
Snippets

Installing TanStack Virtual Core

Showcase the command line instructions to install TanStack Virtual Core via npm or yarn, including the installation of peer dependencies.
// Using npm to install TanStack Virtual Core
npm install @tanstack/virtual-core
This command installs the TanStack Virtual Core library using npm, which is required for managing virtualization efficiently in your project.
// Using yarn to install TanStack Virtual Core
yarn add @tanstack/virtual-core
This command installs the TanStack Virtual Core library using yarn. It's an alternative package manager to npm that also handles the installation of the library.