Search code examples
node-webkit

How to print Node WebKit version


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


Solution

  • 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