우분투에 NodeJS, NPM, Yarn 설치 | Ubuntu Install | JMON

JMON·2021년 1월 14일
1
post-thumbnail

📄 설명

📣 기본

문서 작성일 기준 LTS버전 기준으로 작성되었습니다
다른 버전의 설치를 원하시는 경우 아래 참조 페이지에서 설치 가능합니다

📄 설치방법

📣 NodeJS

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_lts.x | bash -
apt-get install -y nodejs

📣 NPM 툴

# use `sudo` on Ubuntu or run this as root on debian
apt-get install -y build-essential

📣 Yarn

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn -y

📄 참고자료

🎈 Git : https://github.com/nodesource/distributions

profile
Fullstack Developer

0개의 댓글