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
🌐
MonoVM
monovm.com › 📚 tutorials 📚 › how to check node version? [check node js version]
How to Check Node Version? [Check Node JS Version]
January 31, 2024 - This command will promptly display the installed Node.js version. ... Running this command will show you the version of npm installed on your system. ... If you prefer to check the Node.js version from within a JavaScript file, you can use the following code snippet:
Discussions

I'm trying to find the node version of an old project. Can someone help me out?
You can't. It can be listed in package.json if the project enforces it, otherwise it's whatever you had running in your CLI when you ran it last 🤷‍♂️ More on reddit.com
🌐 r/reactjs
6
0
September 1, 2023
What's the way to find out my Node.js version on Windows?
I recently installed Node.js on my Windows machine for a new project. Now, I need to verify the version installed, but I can’t seem to figure out how to check it. Can someone guide me through the steps to find out my Node.js version on Windows? More on mepis.org
🌐 mepis.org
0
September 11, 2024
What is the correct command to check Node version and how can I verify it properly? - LambdaTest Community
How do I check Node version on the command line (not the REPL)? I want to check Node version from the command line, but when I run: node -version it doesn’t work. What is the correct command to check Node version, and how can I verify it properly? More on community.lambdatest.com
🌐 community.lambdatest.com
0
January 1, 2025
Plugin to check the NodeJS version
You can check it via the node version in the web gui. More on reddit.com
🌐 r/homebridge
7
2
April 4, 2023
People also ask

Can I check Node.js version and NPM version simultaneously?
Yes, it is important to ensure you have the correct versions of both Node.js and NPM installed. To check both versions simultaneously, you can use the command "npm -v" without the quotes in your terminal or command prompt. This will display the installed NPM version along with the Node.js version.
🌐
artoonsolutions.com
artoonsolutions.com › home › how to check node version rapidly | your quick guide
How to Check Node Version Quickly | Here's Your Guide
Can I check Node.js versions for different projects on my system?
Yes, Node Version Manager (NVM) allows you to manage and switch between different Node.js versions on a per-project basis, making it easier to work on projects with varying version requirements.
🌐
monovm.com
monovm.com › 📚 tutorials 📚 › how to check node version? [check node js version]
How to Check Node Version? [Check Node JS Version]
Why is it important to check my Node.js version regularly?
Regularly checking your Node.js version ensures you're aware of the specific version you're using. This is crucial for maintaining compatibility with your projects, benefiting from the latest features, and addressing potential issues.
🌐
monovm.com
monovm.com › 📚 tutorials 📚 › how to check node version? [check node js version]
How to Check Node Version? [Check Node JS Version]
🌐
Treehouse
treehouse.github.io › installation-guides › windows › node-windows.html
Installing Node.js® and NPM on Windows
Restart your computer. You won’t be able to run Node.js until you restart your computer. Make sure you have Node and NPM installed by running simple commands to see what version of each is installed:
🌐
BlueVPS
bluevps.com › blog › how to check node version [step-by-step guide]
How To Check Node Version [Step-By-Step Guide] - Blog - BlueVPS
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.
🌐
Foreignerds
foreignerds.com › home › how to determine if node.js is installed on windows
How to Determine if Node.js is Installed on Windows
September 18, 2023 - Node.js is essential for a variety of development tasks, and it’s crucial to ensure it’s properly installed on your Windows machine. Here are several methods to verify its installation: ... Open the Command Prompt. Type node -v and press Enter. ...
🌐
Artoon Solutions
artoonsolutions.com › home › how to check node version rapidly | your quick guide
How to Check Node Version Quickly | Here's Your Guide
April 28, 2025 - This will start the REPL and present you with a > prompt, indicating that you can now execute any valid JavaScript code. ... To check the version of Node.js, simply type process.version and press Enter.
Find elsewhere
🌐
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.
🌐
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).
🌐
Reddit
reddit.com › r/reactjs › i'm trying to find the node version of an old project. can someone help me out?
r/reactjs on Reddit: I'm trying to find the node version of an old project. Can someone help me out?
September 1, 2023 -

Can someone tell me how I would go about finding an old project's version of node? I put a project down for a couple of months, and I updated node since then. Now I'm getting error messages, and I think that may be the cause. I can't find an answer to this question.

To clarify, I'm not asking to find my current version of node. I know how to do that. I'm asking how I find the version of node I was running at the time I was working on the project. Supposedly, it shows up under "engines" in package.json. I've checked package.json in both my server and front-end, and there is no item called engines.

Can anyone help me out?

🌐
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 ...
🌐
Mepis
mepis.org › windows
What's the way to find out my Node.js version on Windows? - Windows - Mepis Forum
September 11, 2024 - I recently installed Node.js on my Windows machine for a new project. Now, I need to verify the version installed, but I can’t seem to figure out how to check it. Can someone guide me through the steps to find out my Nod…
🌐
LambdaTest Community
community.lambdatest.com › general discussions
What is the correct command to check Node version and how can I verify it properly? - LambdaTest Community
January 1, 2025 - How do I check Node version on the command line (not the REPL)? I want to check Node version from the command line, but when I run: node -version it doesn’t work. What is the correct command to check Node version, and how can I verify it properly?
🌐
The Valley of Code
thevalleyofcode.com › node-version-runtime
How to check the current Node.js version at runtime
The version property of the process object returns a string with the current Node.js version.
🌐
Node.js
nodejs.org › en
Node.js
Get Node.js®Get Node.js®Get security support for EOL Node.js versions
🌐
Node.js
nodejs.org › en › download
Node.js — Download Node.js®
Read the changelog or blog post for this version. Learn more about Node.js releases, including the release schedule and LTS status. Learn how to verify signed SHASUMS. Looking for Node.js source? Download a signed Node.js source tarball. Check out our nightly binaries or all previous releases ...
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › dev-environment › javascript › nodejs-on-windows
Set up Node.js on native Windows | Microsoft Learn
The installer will point you to the releases page for the most recent version. Download the nvm-setup.zip file for the most recent release. Once downloaded, open the zip file, then open the nvm-setup.exe file. The Setup-NVM-for-Windows installation wizard will walk you through the setup steps, including choosing the directory where both nvm-windows and Node.js will be installed.
🌐
npm
docs.npmjs.com › downloading-and-installing-node-js-and-npm
Downloading and installing Node.js and npm | npm Docs
Note: to download the latest version of npm, on the command line, run the following command:npm install -g npm ... To see if you already have Node.js and npm installed and check the installed version, run the following commands:
🌐
Visual Studio Code
code.visualstudio.com › docs › nodejs › nodejs-tutorial
Node.js tutorial in Visual Studio Code
November 3, 2021 - To test that you have Node.js installed correctly on your computer, open a new terminal and type node --version and you should see the current Node.js version installed.
🌐
GitHub
github.com › nvm-sh › nvm
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions - nvm-sh/nvm
Starred by 90.3K users
Forked by 9.7K users
Languages   Shell 98.0% | Makefile 1.2%