Sure - will do, I played around with this a bit
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
# Restart terminal window, or run next three lines
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Install and compile from source
nvm install 10.13.0
I had previously done
sudo apt-get update && sudo apt-get install gcc g++ make
and at least
g++ was used by nvm.
This resulted in a node that reports the correct version number, I’m about to try and use it to install some packages that depend on node 10.* so we’ll see how it goes.