How to Check Node Version in Visual Studio Code

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.

  1. From the top-level View menu, select the Terminal option. Alternatively, press Ctrl + ‘

    Terminal
    From the “View” menu, choose the Terminal option.
  2. Type and run the following command:
    node -v

    Node Command
    Type node -v in the Terminal and then press Enter.
  3. You should see your Node version in the output.

    Node Version
    You will see the Node Version in the output.

Was this article helpful?

Leave a Comment