npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

How to install Node.js package without network?

I’m developed on Linux OS without network.

Because of this, the npm command is not able to install the package.

So while looking for a way to install it, I found a way to download a zip file from github.

I unpacked the zip file and re-bundled it with tar. I tried npm install, but the installation failed with an EAI_AGAIN error.

Looking at this error, it seemed to be an error caused by not connecting the internal dependencies to the network.

I can move files from a networked Windows system to the Linux system, but on the Linux system it is difficult to connect to the network. How do I install it?