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

Lalith picture Lalith · Mar 18, 2011 · Viewed 91.2k times · Source

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

Answer

user748221 picture user748221 · Apr 22, 2012

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

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