top-banana-module
Globally install the project:
npm i -g top-banana-module
/opt/node/v5.5.0/bin/top-banana-module -> /opt/node/v5.5.0/lib/node_modules/top-banana-module/bin/top-banana-module
/opt/node/v5.5.0/lib
└── top-banana-module@0.0.2
Running a globally installed node module within the project:
~/src/top-banana-module ‹master›
╰─ ➤ top-banana-module
top-banana-module: using project version 0.0.3
Running a globally installed node module not in the project or as a dependency:
~
╰─ ➤ top-banana-module
top-banana-module: using global installed version 0.0.3
Running a globally installed node module as a dependency:
~/src/top-banana-test
╰─ ➤ npm i --save top-banana-module
top-banana-test@1.0.0 ~/src/top-banana-test
└── top-banana-module@0.0.3
~/src/top-banana-test
╰─ ➤ node node_modules/top-banana-module/bin/top-banana-module
top-banana-module: using local installed version 0.0.3