Skip to content

Instantly share code, notes, and snippets.

@stephenfeather
Created April 21, 2019 00:49
Show Gist options
  • Save stephenfeather/d0ec1ce33e157256c83a63a170736cd2 to your computer and use it in GitHub Desktop.
Save stephenfeather/d0ec1ce33e157256c83a63a170736cd2 to your computer and use it in GitHub Desktop.
Clean Up wasted space on osx
#!/usr/local/bin/zsh
echo "Updating Homebrew"
brew update
brew upgrade
brew cask upgrade
brew cleanup -s
brew doctor
brew missing
echo "Updating App Store Items"
mas outdated
npm update -g
npm cache clean --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment