The command line for that is:

node -v

Or

node --version

Note:

If node -v doesn't work, but nodejs -v does, then something's not set up quite right on your system. See this other question for ways to fix it.

Answer from JohnnyHK on Stack Overflow
🌐
Quora
quora.com › How-do-I-check-the-version-of-Node-js-and-npm-installed-on-my-machine
How to check the version of Node.js and npm installed on my machine - Quora
Just sign up on freecash now and start earning from the first minute (yes, you’ve read that right). ... Do Windows+R and type cmd to open command prompt. Then for version type node -v for node version and npm -v for npm version.
People also ask

Does updating Node.js also update NPM?
When you install a new major version of Node.js, a compatible version of NPM is installed along with it. However, since NPM can be updated independently, newer versions may be available. After updating Node.js, always verify the active NPM version using npm -v.
🌐
monovm.com
monovm.com › 📚 tutorials 📚 › how to check node.js version on windows, macos & linux
How to Check Node.js Version on Windows, macOS & Linux
Can I have multiple Node.js versions installed at the same time?
Yes. With version management tools like NVM and FNM, you can install multiple Node.js versions separately and quickly switch between them using commands such as nvm use .
🌐
monovm.com
monovm.com › 📚 tutorials 📚 › how to check node.js version on windows, macos & linux
How to Check Node.js Version on Windows, macOS & Linux
What is the difference between node -v and npm -v?
node -v shows the version of the Node.js runtime, while npm -v displays the version of the package manager (NPM). These two have separate release cycles, and even though NPM is bundled with Node.js, their versions are not necessarily an exact match.
🌐
monovm.com
monovm.com › 📚 tutorials 📚 › how to check node.js version on windows, macos & linux
How to Check Node.js Version on Windows, macOS & Linux
🌐
BlueVPS
bluevps.com › blog › how to check node version [step-by-step guide]
How To Check Node Version [Step-By-Step Guide]
The following methods can help you find the Node version you are using on different operating systems: Check the Node.js version using the node version command node --version or the shorthand node -v.
🌐
Node.js
nodejs.org › en › about › previous-releases
Node.js — Node.js Releases
The Node.js website provides several non-interactive installation methods, including command-line interfaces (CLIs), operating system (OS) package managers (e.g., brew), and Node.js version managers (e.g., nvm).
🌐
Educative
educative.io › answers › how-to-check-versions-of-node-and-express-using-cmd
How to check versions of Node and Express using cmd
Use node -v or node --version in the terminal to verify the installed Node.js version. Use npm -v or npm --version to verify the installed npm version. Navigate to your project directory and use npm list express to check the Express.js version ...
🌐
DedicatedCore
dedicatedcore.com › home › how to check & install current node.js version
How to Check & Install Current Node.js Version - DedicatedCore Blog
May 30, 2025 - Project dependencies sometimes require particular Node.js versions, and if a mismatch takes place, runtime errors may be triggered. Look into the package.json file of the project for the engines field to check for supported versions.
🌐
GitHub
gist.github.com › chranderson › b0a02781c232f170db634b40c97ff455
Useful NVM commands · GitHub
# install last LTS version and install global packages from "current" node version. # run "nvm list" to see if you have "current" alias and which version points to nvm install --lts --reinstall-packages-from=current # install specific version and install global packages from specific version nvm install 20.0.0 --reinstall-packages-from=18 ... Explore a comprehensive list of NVM commands by clicking on the text below. - ... Is this version installed on your machine? Check your default node version using "nvm alias default"
Find elsewhere
🌐
MonoVM
monovm.com › 📚 tutorials 📚 › how to check node.js version on windows, macos & linux
How to Check Node.js Version on Windows, macOS & Linux
December 16, 2025 - Let’s skip the introductions. You’re here because you want to check the Node.js version. This article from MonoVM is written exactly to address that need. In this guide, you’ll learn how to check the Node.js version Windows, Linux and mac. and more importantly, how to interpret the version numbers themselves.
🌐
RisingStack
blog.risingstack.com › home › hírek, események › how to check node version
How to check Node version - RisingStack Engineering
May 29, 2024 - This will return the current version of node that is installed on your system. If you want to learn more about Node.js, you can find instructions and official docs on the node website. https://nodejs.org/en/download/ To check the latest version of Node for both the LTSLTS means long-term support.
🌐
Ruan Beukes
ruanbeukes.net › verify-a-specific-node-version-for-your-javascript-project
Verify a Specific Node Version for Your JavaScript Project | Ruan Beukes
March 25, 2023 - To verify the node version per JavaScript project, I found this npm package check-node-version. It allows you to verify the node version via CLI (Command Line Interface) or programmatically.
🌐
GitHub
github.com › volta-cli › volta › issues › 1535
have a command that lists the versions of node.js installed on your computer · Issue #1535 · volta-cli/volta
July 17, 2023 - a bit like on the principle of nvm or n under linux with a command that displays the versions of node.js installed on his computer. Can change version in its terminal in addition to or in addition to the pin command which adds a node to ...
Author   Marcelin97
🌐
Barrd
barrd.dev › home › articles › quicknote › find which node version an old project requires
Find which node version an old project requires : barrd.dev
January 18, 2025 - Run it after cd‘ing into the projects root, same level as the node_modules directory. You’ll see a list of all the versions that’ve been used, image below shows a small sample. Example output of grep command showing various versions of node
🌐
Nodejsdesignpatterns
nodejsdesignpatterns.com › blog › checking-node-js-version
How to check Node.js version and package manager versions
January 29, 2026 - Learn how to check your current Node.js version and the versions of popular package managers including npm, pnpm, and yarn
Authors   Mario CasciaroLuciano Mammino
Published   2024
Pages   660
Rating: 4.6 ​ - ​ 780 votes
🌐
Host IT Smart
hostitsmart.com › manage › knowledgebase › 464 › check-node-version-in-windows-cmd.html
Guide to Check Node Version in Windows CMD
September 2, 2025 - Learn how to check Node.js version in Windows CMD step by step by using simple commands like node -v and npm -v to verify your Node and npm installation easily.
🌐
GitHub
github.com › parshap › check-node-version
GitHub - parshap/check-node-version: Check installed versions of node and npm · GitHub
SYNOPSIS check-node-version [OPTIONS] DESCRIPTION check-node-version will check if the current node, npm, npx, yarn and pnpm versions match the given semver version ranges. If the given version is not satisfied, information about installing ...
Starred by 77 users
Forked by 22 users
Languages   JavaScript
🌐
Rootstack
rootstack.com › en › blog › how-check-version-nodejs-being-used
How to check the version of Node.js being used | Rootstack
The most recent LTS version of Node.js is 14.x, which will be supported until April 2023. However, it's always a good idea to check the Node.js official website for the most recent LTS and normal versions.
🌐
GeeksforGeeks
geeksforgeeks.org › node.js › how-to-check-npm-version
How to Check NPM Version? - GeeksforGeeks
July 23, 2025 - The simplest and most direct way to check your npm version is through the command line. Open your terminal or command prompt and type: ... If you installed NodeJS using an official installer from nodejs.org, NPM is automatically included. While the installer might show the NPM version during setup, the most reliable way to check your current version is through the command line.
🌐
Medium
articlesmedia.medium.com › how-to-check-node-version-and-npm-version-6a5916d45358
How to Check Node Version and npm Version? - Articles Media - Medium
September 30, 2025 - Node.js comes bundled with npm, so they are typically installed together. Open your terminal or command prompt and run the following command: ... The output will be the version number, such as v22.11.0. To check the npm version, use the following command in your terminal or command prompt:
🌐
Nomadic Soft
nomadicsoft.io › home › blog › master node.js: quick guide to check node version from the command line | nomadic soft
Master Node.js: Quick Guide to Check Node Version from the Command Line | Nomadic Soft
January 8, 2025 - In this guide, we�ll explore how to check your Node.js version through various methods across different operating systems. We�ll also tackle what to do if Node isn�t installed or recognized on your machine and discuss managing multiple versions seamlessly with tools like nvm.