5

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

Saran
  • 3,845
  • 3
  • 37
  • 59

3 Answers3

6

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

Utsav Dawn
  • 7,896
  • 2
  • 29
  • 44
6

Launch node webkit from command line:

nw

Then type nw:version in the address bar to get the version number.

enter image description here

David Douglas
  • 10,377
  • 2
  • 55
  • 53
  • Thanks for the effort. Seems that the nw version can't be read without starting the webkit. I'll accept @UtsavDawn answer b/c it was the first and essentially provides the same information as yours. – Saran Mar 20 '15 at 10:17
0

nw ls from the command line gets a list of local cached nwjs versions, which may be helpful.

David Burson
  • 2,947
  • 7
  • 32
  • 55