개발/react 생태계
Centos6/7에서 Node.js 설치
도깨비!
2022. 3. 15. 16:41
반응형
Centos6/7에서 yum install을 통해서 node를 설치하면 버전이 10이 고정입니다.
version 업데이트를 해도 방법이 없어요....
그래서 아래 명령어를 통해 14version을 가져온후, 업데이트 or 사용해야합니다.
curl -sL https://rpm.nodesource.com/setup_{version}.x | sudo -E bash
#version=14인경우
curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash
다른 분들은 시간낭비 하시지 말길바랍니다