Setting up Nodejs with nvm on WSL 2

1 · Dev Sharma · May 22, 2021, 7:17 a.m.
Installing node.js in WSL 2 (NOTE: Although this tutorial demonstrates WSL 2/Ubuntu, this installation is primarily for Linux) In this tutorial, we will use node version manager or nvm to install and manage node versions. nvm certainly has its advantages as it allows you to easily install and manage multiple node versions on your system. This also means you can easily switch node and npm versions with a single command and that comes in handy. If you don't already have it, install curl sudo apt-g...