Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Script to install nodejs 0.10.40
curl -sL https://deb.nodesource.com/setup_0.10 | bash -
apt-get install -y nodejs=0.10.40-*
@mozeryansky

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.