Step 1 - check/install curl
curl is needed for download operations. By default it isn't installed. Type in terminal:
If command not found, install it:
$ sudo apt install curl
Step 2 - Adding Node.js repo
There are LTS and latest releases of Node.js package. Select version you need and add according repository using following commands.