yum install -y gcc-c++ make
# v16
curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash -
# v14
# curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash -
yum install nodejs
node -v
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
source ~/.bash_profile
nvm list-remote
dnf module install nodejs:
dnf module list nodejs
dnf module install nodejs:12