Created
September 26, 2010 00:37
-
-
Save mcantelon/597451 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# configure npm | |
touch ~/.npmrc | |
echo root=$HOME/root >> ~/.npmrc | |
echo binroot=$HOME/bin >> ~/.npmrc | |
echo manroot=$HOME/man >> ~/.npmrc | |
mkdir $HOME/root | |
mkdir $HOME/bin | |
mkdir $HOME/man | |
# install npm | |
http://github.com/isaacs/npm.git | |
cd npm | |
make dev | |
# let node know where npm installs live (add to ~/.bashrc) | |
export NODE_PATH=$HOME/root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment