DEV Community

sunj
sunj

Posted on

ubuntu20.04에 node.js와 yarn 설치,2023-01-13

이것을 설치해야 원하는 nodejs를 설치가 가능하다

sudo apt-get install -y curl
Enter fullscreen mode Exit fullscreen mode
sudo apt-get install -y build-essential
Enter fullscreen mode Exit fullscreen mode

https://nodejs.org/en/

접속

other downloads

클릭

Installing Node.js via package manager

클릭

Debian and Ubuntu based Linux distributions

클릭

Node.js binary distributions

클릭

원하는 버전으로 받기

ubuntu20.04
node.js 16.x

curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
Enter fullscreen mode Exit fullscreen mode

yarn 설치

npm install -g yarn
Enter fullscreen mode Exit fullscreen mode

Top comments (0)