Created
November 26, 2015 01:20
-
-
Save msporny/5019c4bed5415b745edd to your computer and use it in GitHub Desktop.
Script to install nodejs 0.10.40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sL https://deb.nodesource.com/setup_0.10 | bash - | |
apt-get install -y nodejs=0.10.40-* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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-*