Popular Searches
Popular Course Categories
Popular Courses

How to Check if Node.js is Installed on Your System (Windows, Mac & Linux)

What Our Students Say
check node js installation command prompt output example

A beginner-friendly guide to quickly check whether Node.js is installed and working properly on your computer.

What is Node.js and Why Should You Check Its Installation?

Node.js is a powerful runtime environment that allows developers to run JavaScript outside the browser. It is widely used for building fast, scalable web applications and backend services.

Before starting development, it is important to confirm whether Node.js is properly installed on your system. This ensures that you can run JavaScript programs, install packages, and use development tools without issues.

How to Check if Node.js is Installed on Windows, Mac, and Linux

Checking Node.js installation is simple and only requires a command line tool.

Step 1: Open Command Line

  • Windows: Open Command Prompt or PowerShell
  • Mac/Linux: Open Terminal

Step 2: Run the Command

Type the following command and press Enter:
node -v

Step 3: Check the Output

  • If Node.js is installed, you will see a version like:

v18.16.0

  • If it is not installed, you may see an error like:
    'node' is not recognized as an internal or external command

Step 4: Verify npm (Node Package Manager)

You can also check npm using:
npm -v
This confirms that Node.js and its package manager are working correctly.

Common Errors While Checking Node.js and How to Fix Them

Even if Node.js is installed, you may face some common issues:

1. Command Not Recognized

This usually means Node.js is not installed or not added to the system PATH.
Solution:
Reinstall Node.js and ensure "Add to PATH" is selected during installation.

2. Incorrect Version Showing

Sometimes an older version appears.
Solution:
Update Node.js to the latest version from the official website.

3. npm Not Working

If npm fails, it may indicate a broken installation.
Solution:
Reinstall Node.js or repair the installation.

Start Learning Node.js with Practical Training and Projects

If you want to go beyond just checking installation and actually master Node.js, structured learning is the fastest path.
You can explore:

These programs focus on real-world projects, backend development, APIs, and full-stack skills to help you become industry-ready.

Final Thoughts

Checking whether Node.js is installed is the first step in your development journey. With just a simple command, you can confirm your setup and start building powerful applications.

Once your environment is ready, the next step is learning how to use Node.js effectively through hands-on practice and real-world projects.

What is Node.js and Why Should You Check Its Installation?

How to Check if Node.js is Installed on Windows, Mac, and Linux

Common Errors While Checking Node.js and How to Fix Them

Start Learning Node.js with Practical Training and Projects

Connect With Us
whatsapp