diff --git a/doc/api/process.md b/doc/api/process.md index 818f9a527904e1..4b654767bb88ac 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -2498,13 +2498,16 @@ added: v0.1.3 * {string} -The `process.version` property returns the Node.js version string in the form of -`v..`. +The `process.version` property contains the Node.js version string. ```js console.log(`Version: ${process.version}`); +// Version: v14.8.0 ``` +To get the version string without the prepended _v_, use +`process.versions.node`. + ## `process.versions`