Created
March 27, 2014 09:31
-
-
Save antife-yinyue/9803724 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
#!/bin/bash | |
cd /usr/local/lib | |
sudo rm -rf node node_modules | |
cd /usr/local/bin/ | |
sudo rm -f node npm | |
cd $HOME | |
sudo rm -rf .npm | |
if [ ! `sudo which node` ]; then | |
echo "Successful." | |
else | |
echo "Aborted." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment