FPTWaze
Home โ€บ Languages & Runtimes โ€บ Node.js โ€บ Install

How to install Node.js on Windows, Mac and Linux

Updated ยท FPTWaze editors

Install Node.js, a free open source JavaScript runtime, on Windows, Mac or Linux from the official site, and learn how to update and remove it.

Quick answer: Node.js is free to download from its official website for Windows, macOS, Linux. To install it with one command, on Windows run "winget install -e --id OpenJS.NodeJS".
Developer
OpenJS Foundation
License
Open source (MIT)
Runs on
Windows, macOS, Linux
Latest version
26.13.1

Links open the developer's own website. FPTWaze does not host or modify any file.

Install, update and remove Node.js with a command

SystemActionCommand
Windows (winget)Installwinget install -e --id OpenJS.NodeJS
Updatewinget upgrade -e --id OpenJS.NodeJS
Removewinget uninstall -e --id OpenJS.NodeJS

Packages come from the official package managers. New to them? See how winget works.

Node.js is a free, open source JavaScript runtime. It runs JavaScript outside the browser, for servers, developer tools and command-line apps. The safe way to get Node.js is the official download button above or an official package manager. Node.js uses the V8 engine and comes with npm, the largest package registry.

Even-numbered Node.js releases become Long Term Support (LTS) versions. Node.js LTS versions are recommended for production, so choose one of those for a live project.

How to install Node.js on Windows

Official installer route: 1. Click the official download button above and open the Node.js download page. 2. Download the Windows installer from that page. 3. Open the downloaded file and follow the installer steps. 4. Wait until the installation finishes.

Package manager route: Node.js is available as the winget package OpenJS.NodeJS. Open a command window and run the install command from the table above.

How to install Node.js on Mac

Official installer route: 1. Click the official download button above and open the Node.js download page. 2. Download the macOS installer from that page. 3. Open the downloaded file and follow the installer steps.

This guide lists no package manager for macOS, so use the official installer.

How to install Node.js on Linux

Official installer route: 1. Click the official download button above and open the Node.js download page. 2. Choose the Linux download on that page. 3. Follow the instructions given on the official page.

This guide lists no package manager for Linux, so the official download is the route to use.

How to update Node.js

Get the newer Node.js release from the official download button above and install it over the current version. On Windows, you can also run the update command shown in the table above. When you update for production, choose an LTS version.

How to uninstall Node.js

On Windows, run the uninstall command from the table above, or remove Node.js the standard way for Windows programs. On Mac and Linux, run the uninstall command shown above for your system.

Frequently asked questions

Is Node.js free to install?

Yes. Node.js is open source under the MIT license, so you can download and install Node.js at no cost from the official download page.

What is the safe way to install Node.js?

Download Node.js from the official download page, or install it with an official package manager such as winget on Windows. Official sources keep your Node.js install trustworthy.

Which Node.js version should I use for production?

Even-numbered Node.js releases become Long Term Support (LTS) versions. Node.js LTS versions are recommended for production use, so pick one of those for a live project.

What does npm do in Node.js?

npm comes with Node.js and gives you access to the largest package registry, so you can install code packages for your Node.js projects.

Node.js: JavaScript runtime for servers, tools and command-line apps.

See the Node.js page for version history and all platforms, or compare the best alternatives to Node.js.

How to install Node.js on Windows, Mac and Linux

How this guide was made: written with AI assistance from the facts in our catalog (official links, packages, license, platforms) and checked by an editor before publication. Commands and links above come straight from the catalog.