nvm: Node Version Manager
Node.js Version 관리 (기본적으로 mac, linux 지원)
Reposiotory
CLI
nvm –versionnvm install –ltsnvm use <version>: 특정 버전 사용
Installation
# installs nvm (Node Version Manager) curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash # download and install Node.js (you may need to restart the terminal) nvm install 20 # verifies the right Node.js version is in the environment node -v # should print `v20.16.0` # verifies the right npm version is in the environment npm -v # should print `10.8.1`