This site is privately owned and the information provided is free of charge. Learn more here.
Node.js is software that lets you run JavaScript code on your computer instead of just in a web browser. JavaScript is a programming language that web developers use to build websites and applications. Traditionally, JavaScript only worked inside browsers like Chrome or Firefox. Node.js changed that by allowing JavaScript to run on servers and personal computers as able standalone software.
Learn About Getting Your State Hunting License →
Created in 2009 by Ryan Dahl, Node.js has become widely used in web development. According to a 2023 survey by Stack Overflow, Node.js ranks among the top five most commonly used web frameworks globally. Many companies use Node.js to build the backend systems that power their websites and applications. For example, Netflix, LinkedIn, Uber, and Walmart all use Node.js in their technology infrastructure.
You might want to install Node.js if you're interested in web development, learning to code, or building applications. Node.js uses npm (Node Package Manager), which is a tool that helps you manage code libraries and tools. These libraries contain pre-written code that solves common problems, so you don't have to write everything from scratch. Node.js also lets you build both web servers and desktop applications using the same language.
The software is free to use and open source, meaning anyone can see how it's built and contribute improvements. Node.js runs on Windows, macOS, and Linux operating systems. Whether you're a beginner learning to code or an experienced developer building production systems, Node.js provides tools that work for different skill levels and project types.
Practical takeaway: Before installing Node.js, consider whether you plan to do web development work or build JavaScript-based applications. If you're simply browsing the web, you won't need Node.js. Installation makes sense if you want to learn coding, build backend systems, or work with JavaScript outside a web browser.
Before you install Node.js, check whether your computer meets the basic requirements. Node.js works on three main operating systems: Windows (versions 7 and newer), macOS (version 10.12 and newer), and Linux distributions. Most computers made in the last ten years will have compatible operating systems that support Node.js installation.
Learn How to Sharpen Your Chainsaw Blade →
Your computer's processor type matters as well. Node.js is available in versions for both Intel/AMD processors (which most computers use) and ARM processors (which Apple's newer Silicon chips use). If you have an Apple Mac with an M1, M2, or M3 chip, Node.js has a specific version designed for that hardware. Windows computers almost always use Intel or AMD processors, so you'll typically need the standard x64 version.
Disk space requirements are modest. A basic Node.js installation takes roughly 100-150 megabytes of space. With npm and a few common packages, you might use 500 megabytes to one gigabyte. This is small compared to modern hard drives, which typically contain hundreds of gigabytes or terabytes. Even older computers with limited storage can usually accommodate Node.js.
You should have administrator or user permissions on your computer to install software. On Windows, you may need to run the installer with administrator rights. On macOS and Linux, you might need to enter your password during installation. If you use a school or work computer with restricted permissions, check with your IT department before installing software.
Internet connectivity is necessary during installation because the installer downloads additional files from Node.js servers. After installation completes, Node.js itself doesn't require constant internet connection, though most projects using Node.js will connect to the internet for various purposes.
Practical takeaway: Identify your operating system (Windows, macOS, or Linux) and processor type before starting. You can find this information in your system settings. Check that your computer runs a relatively recent version of your operating system. If you're unsure about your system details, your operating system's settings menu or system information tool will show you what you need to know.
The official Node.js website (nodejs.org) is the reliable place to get Node.js. The project maintains two main release versions: the Long Term Support (LTS) version and the Current version. The LTS version receives updates and security fixes for approximately three years, making it suitable for projects that prioritize stability. The Current version includes the newest features but receives updates for only a few months, making it better for experimentation and learning the latest JavaScript capabilities.
Free Guide to Senior Discounts at Alamo Drafthouse →
As of late 2024, Node.js version 20 is the active LTS release, while version 22 is the Current version. For most people beginning with Node.js, the LTS version is the better choice. It has been tested more thoroughly, has more third-party packages that support it, and receives longer security updates. If you're building a project you'll maintain over time, LTS provides more stability and support.
The nodejs.org website displays download options prominently on its homepage. When you visit the site, you'll see buttons for both LTS and Current versions. Click the appropriate button for your operating system. The website automatically detects your system in many cases and suggests the correct version. However, you can also browse to a section where you manually select your operating system and processor type.
Each Node.js release includes an installer file with a .msi extension for Windows, a .pkg file for macOS, or source code and pre-built binaries for Linux. These installer files are signed with digital certificates to verify they're authentic. This protects you from accidentally installing counterfeit or malicious versions from other websites.
Never obtain Node.js from unofficial sources, torrent sites, or third-party software download sites. While these may sometimes provide Node.js files, you cannot verify they're legitimate or safe. Official sources ensure you get authentic, secure, unmodified software. The official installers are free, so there's no advantage to using unofficial sources.
Practical takeaway: Visit nodejs.org and look for the LTS version download button. Let the website detect your system automatically, or manually choose your operating system and processor type if needed. Save the installer file to a location you can easily find, such as your Downloads folder or Desktop.
The Windows installation process uses a guided installer that walks you through each step. First, open your Downloads folder or wherever you saved the Node.js installer file. The file name will look something like "node-v20.10.0-x64.msi" (the version numbers may differ). Double-click this file to start the installer.
Free Guide to Making and Playing Cootie Catchers →
A window will appear asking if you want to allow the installer to make changes to your computer. Click "Yes" to proceed. The Node.js Setup Wizard will then open, showing a welcome screen. Click "Next" to continue. Read the license agreement, check the box indicating you accept the terms, and click "Next" again.
The installer asks where to place Node.js files on your computer. The default location, usually "C:\Program Files\nodejs", works well for most people. Unless you have specific reasons to change it, leave this setting as-is and click "Next". The next screen shows installation options like npm (Node Package Manager) and documentation. Leave these checked since you'll want npm, which manages code packages. Click "Next".
A final configuration screen appears. You can leave the default settings selected. These options configure how Node.js integrates with Windows. Click "Next" one more time, then click "Install" to begin the actual installation. The installer copies files to your computer, which takes one to two minutes depending on your system. Once finished, you'll see a completion screen. Click "Finish" to exit the installer.
To verify the installation worked, open Command Prompt (search "cmd" in your Windows search bar). Type "node --version" and press Enter. If installation succeeded, you'll see a version number like "v20.10.0" displayed. Type "npm --version" and press Enter to verify npm installed correctly. You should see a version number like "10.2.4" or similar. If you see version numbers for both commands, Node.js and npm are ready to use.
Practical takeaway: Follow the installer prompts using the default settings unless you have specific requirements. After installation completes, verify everything works by opening Command Prompt and checking the versions of both node and npm. These version checks take just seconds and confirm your installation is functional.
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.