Posts ubuntu에 Node.js 설치
Post
Cancel

ubuntu에 Node.js 설치


ubuntu nodejs 설치 방법

nodejs version 10

1
2
3
$ sudo apt-get update
$ sudo apt-get install -y bulid-essential
$ sudo apt-get install curl
1
2
$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash --
$ sudo apt-get install -y nodejs

nodejs version 12

1
2
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash --
$ sudo apt-get install -y nodejs

Vesrsion 확인

1
$ node -v & npm -v
This post is licensed under CC BY 4.0 by the author.