nwjs
Install nw.js prebuilts using npm
Last updated 2 years ago by fritx .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nwjs -g
SYNC missed versions from official npm registry.

nwjs version npm

Inspired by electron-prebuilt

You can use nwjs as an nw.js version manager, and do things like nw /your/app/path

preview

Install

npm i -g nwjs

Usage

# Install a version
$ nw install 0.12.3

# Install a SDK version
$ nw install 0.13.0-rc3-sdk

# Run nw in cwd or specific any directory
$ nw .

# Use another cached version
$ nw use 0.13.0-beta3

# Use SDK version
$ nw use 0.13.0-rc3-sdk

# List all local cached versions
$ nw ls

# Use a proxy
$ http_proxy=http://127.0.0.1:8787 nw install 0.13.0-beta5

# For fish shell users
$ env http_proxy=http://127.0.0.1:8787 nw install 0.13.0-beta5

For all available versions to install please use nw ls-remote

Tested on Windows 7(32), Windows 10(32), Ubuntu 14.04(32), OSX El Capitan (64).

Help

$ nw -h

  Usage: nw [options] [command]


  Commands:

    *                       Run nwjs in a directory
    install|i <version>     Install an nwjs version
    use|u <version>         Set an active nwjs version
    list|ls                 List local cached nwjs versions
    list-remote|ls-remote   List all available nwjs versions from remote
    remove|r <version>      Remove a specific version of nwjs

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

Programmatic usage

const spawn = require('child_process').spawn
// this returns the path to nwjs excutable
const nw = require('nwjs')

const child = spawn(nw)

License

MIT © EGOIST

Current Tags

  • 1.4.4                                ...           latest (2 years ago)

24 Versions

  • 1.4.4                                ...           2 years ago
  • 1.4.3                                ...           3 years ago
  • 1.4.2                                ...           4 years ago
  • 1.4.1                                ...           4 years ago
  • 1.4.0                                ...           4 years ago
  • 1.3.1                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.1                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.7                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.0.15                                ...           4 years ago
  • 0.0.14                                ...           4 years ago
  • 0.0.13                                ...           4 years ago
  • 0.0.12                                ...           4 years ago
  • 0.0.11                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (3)
Downloads
Today 0
This Week 1
This Month 13
Last Day 0
Last Week 6
Last Month 26
Dependencies (15)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |