Setting Up a Dev Machine for Node.js

It seems every few months setup of whatever tech stack is always tweaked a bit. This is a collection of information I used to setup my box recently. First off, for the development box, I always use nvm as it is routine to need a different version of Node.js installed for various repositories and such. The best article I’ve found that is super up to date for Ubuntu 18.04 is Digital Ocean’s article (kind of typical for them to have the best article, as their blog is exceptionally good). In it, the specific installation of nvm I’ve noticed has changed since I last worked with it some many months ago.
First, curl download the installation script (I’m pretty sure this is often used to just execute the script, which isn’t something that should be standard practice – don’t just execute scripts from repos on the internet!).