Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to print Node WebKit version

Tags:

node-webkit

If I wanted to check which Node WebKit version I'm using, how would I do that from a command line?

like image 277
Saran Avatar asked Feb 27 '15 09:02

Saran


People also ask

How do I print node js version?

The easiest way to check what version of Node. js you're using is to run node --version from your terminal. This will print your version of Node.

How do I check Nodejs version?

To see if Node is installed, open the Windows Command Prompt, Powershell or a similar command line tool, and type node -v . This should print the version number so you'll see something like this v0.

How do I know what version of NW JS I have?

Show activity on this post. Then type nw:version in the address bar to get the version number.

How do I get the latest version of node JS?

Step 1: Navigate to the official download site of Node. js and select the Windows installer button. It will start the download for the latest version by default.


1 Answers

To know the version of node-webkit in app so you can determine whether certain APIs are available, to get it you can use:

process.versions['node-webkit']

And to quickly know the node-webkit's version you are using now, you can type nw:version in the toolbar, then node-webkit would print the versions like:

node-webkit v0.3.5

node.js v0.8.14

If you are using Node Webkit Builder then use nwbuild -v or nwbuild --version

like image 192
Utsav Dawn Avatar answered Sep 30 '22 09:09

Utsav Dawn