새소식

반응형
Server/CentOS 7

nodejs 특정버전 설치

  • -
반응형

- Nodejs repolist 확인

: yum repolist

* epel repolist 존재하지않을경우

: yum install -y epel-release

* epel repolist 존재할경우

: rpm -qa | grep nodejs

설치 여부 확인

: yum update

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

* 특정버전 설치 시 10.x 를 특정버전으로 수정

: yum install -y gcc-c++ make

: yum install -y nodejs

: node -v

: npm -v

끝.

반응형

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.