Learn how to download and install Node.js on Windows, Linux (Ubuntu/CentOS), and Mac step by step.
In this tutorial, I’ll show you how to install Node.js, verify installation, and get started with npm.
By the end, you’ll be ready to build applications using Node.js!
What is Node.js?
Node.js is an open-source, cross-platform JavaScript runtime environment.
It allows you to run JavaScript outside of the browser, on the server side.
Normally, JavaScript was only used in web browsers (for frontend). Node.js makes it possible to use JavaScript for backend development too.
Single Programming Language (JavaScript Everywhere)
Traditionally: Frontend (JavaScript) + Backend (Java, Python, PHP).
With Node.js: Use JavaScript for both frontend and backend → faster development.
Fast Performance
Built on Google Chrome’s V8 JavaScript Engine.
Handles thousands of requests with non-blocking, event-driven architecture.
Perfect for real-time apps like chat, streaming, or gaming.
1. Install Node.js on Windows
Open your browser and go to the official Node.js website:
👉 https://nodejs.org
On the homepage, you’ll see two versions:
LTS (Long-Term Support) → recommended for most users.
Current → has the latest features.
Choose LTS unless you need the newest features.
Download the Windows Installer (.msi).
Run the installer:
Click Next.
Accept the license.
Keep the default settings.
Finish installation.
After installation, open Command Prompt and check:
node -v
npm -v
Install Node.js on Linux (Ubuntu/Debian example)
sudo apt update && sudo apt upgrade -y
Install Node.js from NodeSource (recommended):
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs
Verify installation:
node -v
npm -v
Install build tools:
sudo apt-get install -y build-essential
3. Install Node.js on macOS
Open your browser and go to https://nodejs.org
.
Download the macOS Installer (.pkg) for LTS.
Run the installer and complete setup.
Open Terminal and check:
node -v
npm -v
• Find Windows Install Date Using Command Pr...
• PowerShell script to get SSL certificate d...
• How to get hostname from IP using ping com...
• How to Reset Admin Password on MacBook (ma...
nodejs install
install nodejs windows
install nodejs linux
install nodejs mac
nodejs tutorial for beginners
download nodejs
how to install nodejs
nodejs installation guide
setup nodejs windows 10
setup nodejs ubuntu
setup nodejs macos
npm install tutorial
nodejs step by step
learn nodejs
nodejs latest version
nodejs 2025 tutorial
install npm windows
install npm linux
install npm mac
nodejs tutorial
install nodejs windows
install nodejs linux
install nodejs mac
download nodejs
nodejs installation guide
how to install nodejs
install nodejs step by step
nodejs setup windows 10
nodejs setup ubuntu
nodejs setup macos
npm installation tutorial
learn nodejs for beginners
nodejs 2025 tutorial
nodejs latest version install
#NodeJS
#installationtips NodeJS
#javascript
#WebDevelopment #CodingForBeginners