Created
January 18, 2015 02:03
-
-
Save undoZen/0d80b037e97580d6c4d7 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env bash | |
export N_PREFIX=$HOME/.ivm | |
export N_BIN=$N_PREFIX/bin | |
test -d $N_BIN || mkdir -p $N_BIN | |
pushd $N_BIN | |
wget https://raw.githubusercontent.com/demohi/ivm/ce260674aeb8a446a3790784461156085f634c5b/bin/ivm | |
chmod a+x ivm | |
popd | |
echo 'export N_PREFIX=$HOME/.ivm' >> .bashrc | |
echo 'export PATH=$N_BIN:$PATH' >> .bashrc | |
ivm || true | |
ivm latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment