S
S
strelkovandreyv2019-10-31 21:05:25
Node.js
strelkovandreyv, 2019-10-31 21:05:25

How to install NodeJS and required packages offline?

Good afternoon, please tell me, I'm not well versed in NodeJS and NPM.
You need to install one application offline (RocketChat) on RedHat7/CentOS7
Installation is described here https://rocket.chat/docs/installation/manual-insta...
It is successfully installed online at home, but as I understand it, the most difficult offline will come
when it comes to NodeJS
Namely, it will start here:

sudo yum install -y curl && curl -sL https://rpm.nodesource.com/setup_8.x | sudo bash -

As I understand it, curl is installed here, after which the script is downloaded and immediately executed, I'm not strong in bash scripts and nodejs, but as I understand it, this is some kind of automatic "web installer" that, depending on the current environment, downloads and installs the latest version from the 8th line.
This is like the first question, please tell me how this procedure can be repeated on an offline machine?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lynn "Coffee Man", 2019-10-31
@Lynn

https://nodejs.org/en/download/ download the archive here and drag it on a flash drive to the target machine

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question