Created
November 16, 2015 10:25
-
-
Save kristopherjohnson/e893ad33166c4fe77370 to your computer and use it in GitHub Desktop.
Bash script to update Homebrew, npm packages, Ruby gems, and OS X
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
| #!/bin/bash | |
| set -e | |
| echo 'Updating homebrew...' | |
| brew update && brew upgrade && brew cleanup | |
| echo 'Updating npm...' | |
| npm update -g | |
| echo 'Updating Ruby gems...' | |
| gem update | |
| echo 'Updating OS X...' | |
| softwareupdate --install --recommended | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment