Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Script to install nodejs 0.10.40
curl -sL | bash -
apt-get install -y nodejs=0.10.40-*

This comment has been minimized.

Copy link

commented Mar 18, 2018

I had to use sudo before bash -, and the nodejs version was a little later.

Use apt-cache policy nodejs to find the node in your source list and install the version you have. For me that was:
sudo apt-get install -y nodejs=0.10.48-*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.