No More Global Modules - local installation of global modules
Want to see pretty graphs? Log in now!
npm install nmgm
|1||downloads in the last week|
|4||downloads in the last month|
|Last Published By|
|Version||0.0.1 last updated 8 months ago|
|Keywords||npm, module, global, install|
No More Global Modules
Global modules are a bit of a pain. Yes, we need them for to run
jade but this creates a problem.
By installing modules globally you can never really be certain whether a module you've
require()d is included in your
package.json depencencies. Also, installing module system-wide doesn't feel right.
No More Global Modules (or
nmgm) alliviates these problems by installing "global" modules in
$HOME/bin. Most distributions include
npm install -g coffee-script you run
nmgm install coffee-script. That's it.
nmgm is not installed as a global module. There are two installation options:
cd /tmpand run
npm install nmgm.
Or you clone this repository and run
which nmgm to make sure that
nmgm is in the path. You may need to add
$PATH on your machine.