Instantly share code, notes, and snippets.

@balupton /
Last active Dec 30, 2015

What would you like to do?
Bevry's old node install instructions
if [ $node_version_to_install ]; then
sudo chown -R $USER /usr/local
git clone --recursive node-${node_version_to_install}
cd node-${node_version_to_install}
git checkout ${node_version_to_install} && ./configure && make && sudo make install && sudo chown -R $USER /usr/local
cd ..
rm -Rf node-${node_version_to_install}
echo "You must export the node_version_to_install variable so we know what node version to install"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment