1.2.0 • Published 10 years ago
nwk v1.2.0
nwk
nw.js kit
install
npm install nwk -gcli
- get nwk version:
nwk -v - get help:
nwk -h - download nw.js:
nwk get [--nw=<nw.js version>], use--nwto set nw.js version, default it is the latest release version. - install node modules:
nwk install <module_name> --nw=<nw.js version>ornwk install --nw=<nw.js version>install node modules for nw.js, expecially for node addons, usingnwk installis very useful to solve ABI compatiable problems between nw.js and normal node addons. - uninstall node modules:
nwk uninstall <module_name> - test addons build:
nwk test [<module_name>], test node addons special build for nw.js. And auto solve binary path error which often happens when install node addons that usenode-pre-gypto build.
Note: use <arg> to represent argument, [...] means that it's optional.
known issues
The nw.js official download page, http://dl.nwjs.io cannot be accessed in China.