frankjonen

Homebrew Basics - macOS High Sierra

Apr 26th, 2018
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.33 KB | None | 0 0
  1. # Before new installs
  2. brew cleanup                           # This removes all source code and AOC¹
  3.                                        # Do this if you haven't done it yet.
  4.  
  5. # Update the Homebrew index
  6. brew update                            # This just updates the index, not to fret.
  7.  
  8. # Upgrade the applications
  9. brew upgrade                           # This actually downloads and upgrades the outdated items
  10.  
  11. # Clean up after yourselves
  12. brew cleanup                           # This is the right place to do it, so you don't have to
  13.                                        # remember it next time.
  14.                                        
  15.  
  16. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  17. # - - - When you uninstall a brew formula, cleanup is also a good idea before you re-install something. - - -
  18. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  19.  
  20. # Bonus Tip
  21. brew upgrade && brew cleanup           # Download and install in sequence. The `&&` means that the second
  22.                                        # command will only fire if the first one ran successfully.
  23.  
  24.  
  25.  
  26.  
  27. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  28. # ¹) Any old crap
Advertisement
Add Comment
Please, Sign In to add comment