I've never had any issues with
SHIFT + \ no showing up as
|. It could be language-specific if you are using anything other than a US/English keyboard layout, though it's pretty generic, and I wouldn't see any reason for it showing up as
You can copy and paste to terminal, unless you're using DigitalOcean's Console, which doesn't seem to allow pasting. If you are, I would recommend using Terminal on a Mac or PuTTy on Windows as an alternative.
You can copy and paste in terminal, or simply highlight/select to copy and right click to past if you are using PuTTy. That way you can simply copy the installer command, paste to terminal, and hit enter.
Depending on which version you want to install, copy/paste command would be:
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - && sudo apt-get install -y nodejs
curl -sL https://deb.nodesource.com/setup_6x | sudo -E bash - && sudo apt-get install -y nodejs
curl -sL https://deb.nodesource.com/setup_5x | sudo -E bash - && sudo apt-get install -y nodejs