Show available update:

softwareupdate -install -a


Homebrew: The missing package manager for mac os

/usr/bin/ruby -e "$(curl -fsSL"

Tap to deprecated formula

brew tap exolnet/homebrew-deprecated


brew update # Fetch latest version of homebrew and formula
brew outdated # Show formulae with an updated version available

brew upgrade # Upgrade all outdated and unpinned brews
brew upgrade <formula> # Upgrade only the specified brew

brew pin <formula> # Prevent the specified formulae from being upgraded
brew unpin <formula> # Allow the specified formulae to be upgraded.

brew tap # List all the current tapped repositories (taps)
brew tap <user/repo> # Tap a formula repository from Github using https for tap
brew tap <user/repo> <URL> # Tap a formula repository from the specified URL
brew untap <user/repo> # Remove the given tap from the repository

brew tap homebrew/cask # Tap the Cask repository from Github.
brew cask list # List all the installed casks .
brew cask install <cask> # Install the given cask.
brew cask reinstall <cask> # Reinstalls the given Cask
brew cask uninstall <cask> # Uninstall the given cask.

brew list # List all the installed formulae.
brew search # Display all locally available formulae for brewing.
brew search <text> # Perform a substring search of formulae names for brewing.
brew info <formula> # Display information about the formula.
brew install <formula> # Install the formula.
brew uninstall <formula> # Uninstall the formula.

brew cleanup # Remove older versions of installed formulae.
brew cleanup <formula> # Remove older versions of specified formula.
brew cleanup -n # Display all formula that will be removed (dry run)



sh -c "$(curl -fsSL"

Change zsh themes at ~/.zhsrc


High Sierra

brew problem

sudo chown -R $(whoami) $(brew --prefix)/*
/usr/bin/ruby -e "$(curl -fsSL"