Post

Ubuntu에 Node.js 설치

1. Ubuntu에 Node.js LTS(v22.x) 설치

시작하기 전에 시스템에 curl이 설치되어 있는지 확인한다. curl 설치되어 있지 않으면 다음 명령을 사용하여 설치할 수 있다.

1
sudo apt-get install -y curl

2. 설치 스크립트 다운로드

1
curl -fsSL https://deb.nodesource.com/setup_lts.x -o nodesource_setup.sh

3. sudo로 설치 스크립트 실행

1
sudo -E bash nodesource_setup.sh

4. N|Solid 또는 Node.js 설치

1) N|Solid

  • NSolid 설치
1
sudo apt-get install -y nsolid
  • 설치 확인
1
nsolid -v

2) Node.js

  • Node.js 설치
1
sudo apt-get install -y nodejs
  • 설치 확인
1
node -v

[출처 및 참고]

This post is licensed under CC BY 4.0 by the author.