Print the installed Node.js version.
node --versionPrint the installed Node.js version.
node --versionPrint the installed Node.js version.
node --version| Option / clause | Description |
|---|---|
--version / -v | Print the installed Node.js version. |
--help / -h | Display command-line options. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.