I am trying to install NPM on my machine without any Internet connection. Through some research on the Web I have come across suggestions to use npmbox. So I gave npmbox a try but when I try to bin/npmunbox /path/to/npm.npmbox (npm.npmbox being the offline package of NPM) to install NPM into my machine, there is an error:
/usr/bin/env: node: No such file or directory
Why do I need NPM?
The overall problem is that I am trying to install elasticsearch-head into the machine and there is a package.json file which requires npm install to install and also npm run start to get the interface to run. Thus my question.
Some additional information you may want
OS => RHEL6
ELK Stack Version => 5.5.0 (can't install elasticsearch-head as a plugin, deprecated)
Can someone help me with any of the 2 problems I have? Any additional information that you need can be provided to you. Thanks in advance!
P.S. I am very new to NPM so if I missed out any obvious solutions please forgive my ignorance.