util
brew
force the link and overwrite everything
example
rerurn postinstall
i.e.:
update homebrew-cask
check brew configure file
manual install formula
whatprovide alternatives
for brew formula
tricky
reference:
interactive homebrew shell
list dependencies
list who depends on
list all formula dpendencies
e.g.:
brew command
command | description |
---|---|
| Print path to Homebrew’s download cache (usually ~/Library/Caches/Homebrew) |
| Print path to Homebrew’s Cellar (usually /usr/local/Cellar) |
| Print system configuration info |
| Print Homebrew’s environment |
| Print path to Homebrew’s prefix (usually /usr/local) |
| Print where formula is installed |
| Audit all formulae for common code and style issues |
| Remove older versions from the Cellar for all (or specific) formulae1 |
| Generate formula for downloadable file at url and open it in $HOMEBREW_EDITOR or $EDITOR2 |
| Generate formula (including MD5), then download the tarball |
| Open Fink’s search page in your browser, so you can see how they do formula |
| Open MacPorts’ search page in your browser, so you can see how they do formula |
| List dependencies for formula |
| Check your Homebrew installation for common issues |
| Open all of Homebrew for editing in TextMate |
| Open [formula] in $HOMEBREW_EDITOR or $EDITOR |
| Download source package for formula; for tarballs, also prints MD5, SHA1, and SHA256 checksums |
| Open Homebrew’s homepage in your browser |
| Opens formula ’s homepage in your browser |
| Print summary of installed packages |
| Print info for formula (regardless of whether formula is installed) |
| Open Github’s History page for formula in your browser |
| Install formula |
| Install the HEAD version of formula (if its formula defines HEAD) |
| Install a newer HEAD version of formula (if its formula defines HEAD) |
| Symlink all installed files for formula into the Homebrew prefix3 |
| List all installed files for formula (or all installed formulae with no arguments ) |
| Display install options specific to formula |
| List formulae that have an updated version available (brew install formula will install the newer version) |
| Remove dead symlinks from Homebrew’s prefix4 |
| Uninstall formula |
| List all available formula |
| Search for formula in all available formulae |
| Search for /formula/ (as regex) in all available formulae |
| If formula defines a test, run it |
| Unsymlink formula from Homebrew’s prefix |
| Update formulae and Homebrew itself |
| Install newer versions of outdated packages |
| Install newer version of formula |
| List previous versions of formulae, along with a command to checkout each version |
| Display the current state of Homebrew's analytics |
network
show network information
or
change order of networks
list hardware
list detail of hardware
IP
find local device ip address
DNS
Get Info
setup DNS
proxy setup
wifi
get wifi name connection currently
connect to another
turn on/off wifi
scan available wifi network
disable ipv6
undo
show network connection history
get wifi password
list all Wifi
get password
firewall
show status
enable firewall
Last updated