Skip to content

Node.js

Luke Dinh edited this page Mar 25, 2024 · 4 revisions

Instead of installing Node.js normally, we'll be using nvm (Node version manager). If you need multiple versions of Node.js (ie. one version for Icebreak and another for a personal project), Nvm lets you switch between them easily with nvm use (version number you want to switch to).

macOS Installation

  • You can install nvm through Homebrew with brew install nvm.
  • Then, install Node.js v20.11.1 with nvm install 20.11.1.
  • Activate the newly installed Node.js version with nvm use 20.11.1.

Windows Installation

  • You can install nvm here.
  • Then, install Node.js v20.11.1 with nvm install 20.11.1.
  • Activate the newly installed Node.js version with nvm use 20.11.1.

You can check if everything worked with node -v and getting output similar to this:

image

Clone this wiki locally