Installing Node.js for React Native

React Native 5 min min read Updated: Jul 25, 2026 Beginner
Installing Node.js for React Native
Beginner Topic 13 of 20

Installing Node.js for React Native

Node.js is a required dependency for React Native development because it powers the JavaScript tooling, package management, and the Metro bundler used to run your applications. This tutorial walks through installing Node.js correctly on your system.

Why Node.js is Required

React Native tooling, including the CLI, Metro bundler, and package managers like npm or Yarn, all run on Node.js. Without it, you cannot create, build, or run a React Native project.

Choosing the Right Node.js Version

React Native officially supports specific Node.js LTS (Long Term Support) versions. It is recommended to always check the official React Native documentation for the currently supported version before installing.

Installing Node.js on Windows

Download the Windows installer from the official Node.js website and run it, following the setup wizard with default options.

bash https://nodejs.org/en/download

Installing Node.js on macOS

On macOS, Node.js can be installed easily using Homebrew, a popular package manager for command-line tools.

bash brew install node

Installing Node.js on Linux

On most Linux distributions, Node.js can be installed through the package manager or using Node Version Manager (nvm) for better version control.

bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash nvm install --lts

Verifying Your Installation

After installation, confirm that Node.js and npm are correctly installed by checking their versions in your terminal.

bash node --version npm --version

Using Node Version Manager (Recommended)

Using nvm allows you to install and switch between multiple Node.js versions easily, which is especially useful when working on multiple projects with different version requirements.

Conclusion

Node.js is the backbone of the React Native development toolchain. Installing the correct LTS version and verifying it properly ensures a smooth setup process for the rest of your React Native environment configuration.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators