Create a gist now

Instantly share code, notes, and snippets.

@balupton /README.md
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 https://github.com/joyent/node.git 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}
else
echo "You must export the node_version_to_install variable so we know what node version to install"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment