320x100
320x100

 

1. 레포지터리 등록

: curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -

 

 

2. npm 및 nodejs 설치 

: sudo yum install nodejs

 

 

3. 설치확인

: node --version

: npm --version

 

 

4. nvm 설치

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

 

 

5. nvm 설치 확인

: nvm --version

 

 

 

 

Refference

https://linuxize.com/post/how-to-install-node-js-on-centos-7/

 

300x250
728x90