Fostah
Fostah

Reputation: 2946

Installing node packages globally offline

Environment: In a closed/offline environment. Question: I am manually copying over node_module's and one of them needs to be installed globally. What is the process to do this?

Upvotes: 0

Views: 798

Answers (1)

Jean-Philippe Leclerc
Jean-Philippe Leclerc

Reputation: 6805

I assume that the module is on your computer in a folder.

npm install /path/to/folder/containing/package/json/ -g

Upvotes: 1

Related Questions