diff --git a/doc/api/process.md b/doc/api/process.md index b2743104feebed..0b51ef501f61bc 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -2476,13 +2476,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`