Created
April 30, 2015 19:10
-
-
Save nestoru/048ecf03cc3323f5091f to your computer and use it in GitHub Desktop.
fastest idempotent ubuntu nodejs install
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
# for some reason npm does not get installed until removing and reinstalling node | |
add-apt-repository -y ppa:chris-lea/node.js \ | |
&& apt-get update \ | |
&& apt-get install -y nodejs=$version* \ | |
&& apt-get remove -y nodejs \ | |
&& apt-get install -y nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment