Blog>
Snippets

Setting up the Development Environment for TanStack Ranger Core

Show how to use nvm to switch to a recommended Node.js version before installing TanStack Ranger Core.
nvm install 14
nvm use 14
This command first installs Node.js version 14, a version that's commonly recommended for modern JavaScript development environments. After installation, it switches the current shell to use Node.js version 14. It's important to ensure that your development environment uses a specific version of Node.js that is compatible with the TanStack Ranger Core.
npm install @tanstack/ranger-core
This line installs the TanStack Ranger Core library into your project. It is assumed you are running this command in the root directory of your project where a package.json file exists. TanStack Ranger Core provides utilities for building complex and high-performance tabular UIs, and installing it is a necessary step before you can begin using it in your project.