Back-end/Node.js

Node.js) Node.js 설치

오열매 2022. 9. 15. 14:37

1) Node.js 설치

 

wsl2 콘솔에 아래 코드 입력. (Node.js v16. 설치)

curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs

2) Node.js 버전 체크

 

node -v

 ubuntu console에 위 코드를 입력하여 버전이 나오면 설치 완료

 


참고)

 

- https://github.com/nodesource/distributions