Centos 노드 설치

981 단어 centosnodejs
설치 하 다.
curl -sL https://rpm.nodesource.com/setup | bash -

# then install, as root
yum install -y nodejs

npm 원본 설정
1. config 명령 으로
npm config set registry https://registry.npm.taobao.org 
npm info underscore (                 response)

2. 명령 행 지정
npm --registry https://registry.npm.taobao.org info underscore 

3. 편집 ~ /. npmrc 아래 내용 추가
registry = https://registry.npm.taobao.org

좋은 웹페이지 즐겨찾기