Install portable cross-platform executable binaries via NPM.
When building a cross-compiled portable binaries which works on Windows, Linux, Mac etc., how to distribute them to users? When a new release published, how to let users update the binary?
nscoop
makes it easy to install or update binaries directly from github releases.
- NPM already installed on almost developers
- Works across any platform.
- NPM makes binary available on
$PATH
. Your app works immeditly after installation.
nscoop
identifies and downloads the right binary for the current oparating system from latest releases of the Git repo provided, and creates symlink to the executable binary using npm-bin which makes the command available for use.
- npm
// Install nscoop
$ npm install -g nscoop
// Install any binary on github repo
$ nscoop install pgollangi/netselect
If you have a public git repo available on github which releases portable binaries. Thats all you need to make those binaries installed on any OS using nscoop
.