I know i can do something like
## brew info FORMULA_NAME
brew info wgetpaste
wgetpaste: stable 2.20
http://wgetpaste.
I use brew [cask] cat [...]
to see the exact formula (without necessarily editing it as other answers here suggest). It shows what gets downloaded, from where, with what checksum, what other formuli/casks it depends on, etc. Here's an example:
$ brew cask cat java
cask 'java' do
version '12.0.2,10:e482c34c86bd4bf8b56c0b35558996b9'
sha256 '675a739ab89b28a8db89510f87cb2ec3206ec6662fb4b4996264c16c72cdd2a1'
url "https://download.java.net/java/GA/jdk#{version.before_comma}/#{version.after_colon}/#{version.after_comma.before_colon}/GPL/openjdk-#{version.before_comma}_osx-x64_bin.tar.gz"
name 'OpenJDK Java Development Kit'
homepage 'https://openjdk.java.net/'
artifact "jdk-#{version.before_comma}.jdk", target: "/Library/Java/JavaVirtualMachines/openjdk-#{version.before_comma}.jdk"
uninstall rmdir: '/Library/Java/JavaVirtualMachines'
end
In homebrew you have casks and formulas, which have different functions, so:
For formulas:
To get info about the formula itself you can use what you did (brew info [formula name
).
To get info about the app you're installing use:
brew desc [Formula name]
You can also go to the homebrew's site for the formula via brew home [formula name
For Casks:
Sadly, casks (like Firefox) don't have the desc
command and you only have brew cask info
(what you used) and brew cask home
Nope. Homebrew intentionally lets the web sites serve as documentation of the packages, instead of maintaining a separate copy of it.
You can do a brew home <formula>
to fire up a browser from the command line, or brew edit <formula>
to examine the formula's installation instructions themselves in an editor.
You can get a one-line textual description of a package with:
brew desc FORMULA-NAME
For example, "brew desc terminator" returns:
terminator: Multiple terminals in one window
try this:
brew cask info [package]