1# Make a new folder for node
2mkdir node
3cd node
4# Download and unzip node
5curl -O https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-x64.tar.gz
6tar -xvzf node-v10.15.3-linux-x64.tar.gz --strip-components=1
7# Add node and npm it to PATH (and do so for future sessions too)
8export PATH=$HOME/node/bin:$PATH
9echo 'export PATH=$HOME/node/bin:$PATH' >> ~/.bashrc