Skip to main content

Version Of NodeJS

How to check the version of Nodejs in the terminal?​

To check the version of Node.js installed on your system, follow these steps:

  1. Open a Terminal:

    • On Windows, you can use the Command Prompt or Visual Studio Code terminal.
    • On macOS and Linux, you can use the built-in terminal.
  2. Run the Command: Type the following command and press Enter:

    node -v
screenshot-2

Understanding Node.js Versions​

Node.js versions follow a semantic versioning scheme, consisting of three parts: MAJOR, MINOR, and PATCH.

screenshot-1

MAJOR : Represents significant changes that might include breaking changes and major new features.

MINOR : Includes smaller enhancements, new features, and improvements that are backward-compatible.

PATCH: Contains minor fixes and patches for existing features.