Install NodeJS on CentOS 7 using NVM

NVM Repository

https://github.com/nvm-sh/nvm

 

1. install NVM

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

2. logout current user and close terminal

3. re-login

4. install stable node version

nvm install --lts node

 

To uninstall

nvm uninstall node
创建时间:9/3/2022 12:04:14 AM 修改时间:9/3/2022 12:10:03 AM