Skip to content

Instantly share code, notes, and snippets.

@balupton
Last active December 30, 2015 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save balupton/7866851 to your computer and use it in GitHub Desktop.
Save balupton/7866851 to your computer and use it in GitHub Desktop.
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