2022/개발환경 세팅

nodejs 설치

꽃꽂이하는개발자 2022. 7. 3. 22:20
반응형

https://github.com/nodesource/distributions/blob/master/README.md

 

GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

NodeSource Node.js Binary Distributions. Contribute to nodesource/distributions development by creating an account on GitHub.

github.com

접속하여 

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -

18버전 curl 복사후

우분투에 입력하면 설치가 됩니다.

 

그 후에

위에 그대로 sudo apt-get install -y nodejs 를 입력하여 다시 설치합니다

 

node -v 을 입력하여 버전을 확인해 줍니다.

 

반응형