카테고리 없음

리눅스 우분투) node.js 설치

nomfang 2021. 7. 6. 01:23
728x90
반응형

1. curl 설치 (안되면 서버 재부팅)

sudo apt-get install curl

2. PPA추가?

curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -

3. node.js 설치(npm도 같이 설치됨)
sudo apt-get install -y nodejs

4. npm install 오류를 방지해준다는데 모르겠다 일단 설치
sudo apt-get install build-essential


 

 

반응형