C
C
Crezy2015-03-18 18:30:01
Node.js
Crezy, 2015-03-18 18:30:01

Is it possible to install a set of modules for NODE.JS on a computer without going online?

Is it possible to install a set of modules for NODE.JS on a computer without Internet access? (the modules themselves are available) If so, how?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey, 2015-03-18
@standy

Yes, it's in the documentation: https://docs.npmjs.com/cli/install

npm install <tarball file>
npm install <folder>

T
Timur Shemsedinov, 2015-03-19
@MarcusAurelius

In your case, it's easier to install on a connected machine and then just transfer the entire folder, along with node_modules.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question