Node.js is an open-source, cross-platform, and runtime environment for executing JavaScript code outside the browser. We often use Node to build back-end services like APIs.
Node.js can be run in major operating systems like Windows, Mac OS, and Linux and is regularly updated. To keep up with these updates, you need the latest version of Node.js in your system. This guide shows you how to check your current Node.js version installed in VS Code.
- From the top-level View menu, select the Terminal option. Alternatively, press Ctrl + ‘
From the “View” menu, choose the Terminal option. - Type and run the following command:
node -v
Type node -v in the Terminal and then press Enter. - You should see your Node version in the output.
You will see the Node Version in the output.