Question: how to install nvm on ubuntu?
Answer: Step #1: Install a C++ Compiler. As a matter of best practice we'll update our packages: ... 
Step #2: Install NVM (Node Version Manager) Use the following curl command to kick-off the install script: ... 
Step #3: Verify the Installation.