nvm(node version manager) 설치

$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash

nvm 활성화

$ source ~/.nvm/nvm.sh

node.js 최신버전 설치

$ nvm install node

설치 확인

// node.js 버전 확인
$ node -v

// npm 버전 확인
$ npm -v

+ Recent posts