How to Install opn NPM Packages on Ubuntu / Debian

How to Install opn software package in NPM Packages

opn : A better node-open. Opens stuff like websites, files, executables. Cross-platform.. You can installing opn npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install opn
$ sudo npm install -g opn

If want to update the opn package execute the command as below,

$ sudo npm update opn

Update package globally,

$ npm install -g opn

Git clone:

$ sudo  git clone https://github.com/rektide/opn.git
$ sudo  npm install -g ./opn

opn@5.1.0 /usr/lib/node_modules/opn

How to remove opn package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall opn

Basic Information of opn NPM Package:

Package Name opn
Version 5.1.0
Description A better node-open. Opens stuff like websites, files, executables. Cross-platform.
Released Date 2017-06-10T11:19:28.026Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/opn/tutorial