Skip to main content
Process.version - process - Node documentation
property Process.version

Usage in Deno

import { type Process } from "node:process";

The process.version property contains the Node.js version string.

import { version } from 'node:process';

console.log(`Version: ${version}`);
// Version: v14.8.0

To get the version string without the prepended v, useprocess.versions.node.

Type

string