Skip to content

Instantly share code, notes, and snippets.

# The install script
# Adapted from https://gist.github.com/579814
install_path=local
download_path=Downloads/node-latest-install
echo '# Added by install script for node.js and npm in 30s' >> ~/.bashrc
echo 'export PATH=$HOME/'$install_path'/bin:$PATH' >> ~/.bashrc
echo 'export NODE_PATH=$HOME/'$install_path'/lib/node_modules' >> ~/.bashrc
. ~/.bashrc