How to check which version of v8 is installed with my NodeJS?


Question

How is V8 installed along with NodeJs? What version is my current V8 engine?

1
127
3/19/2011 2:02:51 AM

Accepted Answer

Easy way:
Type in command line: node -p process.versions.v8

Hard worker way:

  1. Type node --version to get the Node.js version.

  2. Go to the Node.js Changelogs.

  3. Find and open appropriate Node.js version change log.

  4. Look for notes containing V8 to.

107
7/7/2019 8:12:26 AM

One-line solution:
node -p process.versions.v8

Alternative solution:
node -e "console.log(process.versions.v8)"


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon