Upgrade / Switch Node version with NVM (Node Version Manager)
Start by updating the package repository with the command:
sudo apt update
Install NVM using the curl command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
Alternatively, you use wget and run the command:
wget -q...
espiramarvin.hashnode.dev1 min read