Try

nodejs --version

(at least on my system the binary is called nodejs)

Answer from Sergey on askubuntu.com
🌐
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 - To create adaptable, high-performance web applications using JavaScript, install Node.js on Ubuntu. This blog will show you how to use the command line to find the version of Node.js installed on your computer. We will see how to check the Node.js version on Linux and Windows.
🌐
BlueVPS
bluevps.com › blog › how to check node version [step-by-step guide]
How To Check Node Version [Step-By-Step Guide] - Blog - BlueVPS
How to check Node version after installing Node.js on your system. We will cover the installation steps of Node.js on Linux and Windows operating systems.
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-node-js-on-ubuntu-22-04
How to Install Node.js on Ubuntu (Step-by-Step Guide) | DigitalOcean
May 28, 2025 - If you are prompted to restart any services, press ENTER to accept the defaults and continue. Check that the install was successful by querying node for its version number: ... If the package in the repositories suits your needs, this is all you need to do to get set up with Node.js.
🌐
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:
🌐
NodeSource
nodesource.com › blog › Update-Node.js-versions-on-linux
How to Update Node.js Versions on Linux
January 31, 2025 - This command will install the latest stable version with enterprise-grade monitoring and security capabilities. After installation, you should verify that Node.js has been updated successfully. Use the following command to check the version:
🌐
Medium
medium.com › @redswitches › install-the-latest-node-js-version-on-ubuntu-22-04-ca7d7c83a5b0
Install the Latest Node.js Version on Ubuntu 22.04 | Medium
August 29, 2024 - After installation, you can check the installed versions by running node -v and npm -v in your terminal. Q. What should I do if I need a specific version of Node.js?
Find elsewhere
🌐
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 - Once you�re in, simply type npm -v. This will reveal the version of npm are properly installed. It's worth noting that npm comes bundled with Node.js installations. So indirectly, this gives you a clue about your Node.js version.
🌐
Invisionapp
support.invisionapp.com › docs › how-do-i-check-my-version-of-nodejs
How do I check my version of Node.js?
October 1, 2023 - When troubleshooting issues with InVision's DSM Storybook integration, our support agents will sometimes need to know which version of Node.js you're using. To check your version of Node.js, open Terminal (or another CLI of your choice), and type the command node -v.
🌐
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 will display the installed Node.js version in your system. Check npm Version (Optional): If you want to check the version of npm (Node Package Manager) as well, you can use the following command:
🌐
KnowledgeHut
knowledgehut.com › home › blog › web development › how to install node.js on ubuntu? [step-by-step guide]
How to Install Node.js on Ubuntu? [Step-by-Step Guide]
May 24, 2024 - To check if Node.js is installed on your Ubuntu system, all you need to do is to simply node -v and that will display the currently installed version of Node.js.
🌐
Codedamn
codedamn.com › news › node.js
How to check version in Node.js? Check Node version from command line
September 14, 2022 - So just type node --help and you will get a list of all the available flags. ... There will be a lot of information, but all we need to search for is “version”. Right at the bottom, you will find the flag for the version.
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-node-js-on-ubuntu-20-04
How to Install Node.js on Ubuntu | DigitalOcean
May 2, 2025 - These methods provide more flexibility and allow for easy version management. ... # Install Node.js using NVM nvm install node # Install Node.js using NodeSource PPA sudo apt update && sudo apt install nodejs · To check your Node.js version, run the command node -v in your terminal.
🌐
BairesDev
bairesdev.com › home › blog › software development
Change Node Version: A Step-by-Step Guide | All Environments
To solve this, NVM checks, the moment you cd PROJECT_NAME inside the terminal, if a NodeJS project has a .nvmrc file in its root folder to see the project’s default NodeJS version, and then automatically uses (and installs too if not already installed) the specified NodeJS version. my-project/ ├── .nvmrc ├── node_modules/ ├── package.json ├── src/ │ ├── index.js │ └── components/ │ ├── App.js │ └── Header.js └── yarn.lock
🌐
LogRocket
blog.logrocket.com › home › how to switch node.js versions: a cross-platform guide for nvm and alternatives
How to switch Node.js versions: A cross-platform guide for NVM and alternatives - LogRocket Blog
March 24, 2025 - Simply run node --version, and it will return the version. To ensure that globally installed packages like Gatsby CLI are accessible after switching Node.js versions with NVM, it’s important to understand how NVM manages these packages.
🌐
PhoenixNAP
phoenixnap.com › home › kb › devops and development › how to update node.js version {linux, windows, & macos}
How to Update Node.js Version {Linux, Windows, & macOS}
June 12, 2025 - The command opens a prompt for choosing between installed Node.js versions. Use the arrow keys to navigate and Enter or Space to select. APT is the default package manager for Ubuntu and Debian-based distributions.
🌐
RisingStack
blog.risingstack.com › home › hírek, események › how to check node version
How to check Node version - RisingStack Engineering
May 29, 2024 - To only check your npm version, you can use the following command: ... NVM (Node Version Manager) is a bash script that allows you to manage multiple active versions of Node.js.
🌐
HowtoForge
howtoforge.com › home › how to manage nodejs versions with n in ubuntu 20.04
How to Manage NodeJS Versions with n in Ubuntu 20.04
Remove the given downloaded version(s) n prune Remove all downloaded versions except the installed version n --latest Output the latest Node.js version available n --lts Output the latest LTS Node.js version available n ls Output downloaded versions n ls-remote [version] Output matching versions available for download n uninstall Remove the installed Node.js Options: -V, --version Output version of n -h, --help Display help information -p, --preserve Preserve npm and npx during install of Node.js -q, --quiet Disable curl output. Disable log messages processing "auto" and "engine" labels. -d, -
🌐
Treehouse
treehouse.github.io › installation-guides › linux › node-linux.html
Installing Node.js® and NPM on Linux
Make sure you have Node and NPM installed by running simple commands to see what version of each is installed: Test Node.js. To see if Node.js is installed, type node -v in Terminal.