How to install npm -g on offline server

Peter B picture Peter B · Jul 2, 2012 · Viewed 59.2k times · Source

I need to install a "global" npm applications on an offline server.

It is easy to install a normal application:

npm install

and then pack up the resulting files. Either manually or using npm pack.

However, how can I install global application (that has a install script of some sort) such as forever without Internet?

npm install -g forever

Answer

kamil picture kamil · Oct 29, 2013

try npmbox, it is the new name of npmzip which will allow you to install offline npm packages by one file