I need to install a \"global\" npm applications on an offline server.
It is easy to install a normal application:
npm install
and t
List the dependencies in bundledDependencies in your package.json, and then run npm pack to create a tarball. Get that over to the other machine, and either npm install , or just crack it open manually.
bundledDependencies
npm pack
https://github.com/npm/npm/issues/1349