Created
June 24, 2014 14:47
-
-
Save Kikobeats/867d72979009a7539d1b to your computer and use it in GitHub Desktop.
Update System
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 | |
## Brew update | |
cd "$(brew --prefix)" | |
git fetch origin | |
git reset --hard origin/master | |
brew update | |
brew upgrade | |
brew cleanup | |
## Cabal Update | |
cabal update | |
cabal install cabal-install --force-reinstalls | |
## NPM update | |
sudo chown -R "$(whoami)" ~/.npm | |
sudo npm update -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment