Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i get more info about a brew formula before installing?

Tags:

homebrew

I know i can do something like

## brew info FORMULA_NAME brew info wgetpaste 

Output

wgetpaste: stable 2.20 http://wgetpaste.zlin.dk/ Not installed https://github.com/mxcl/homebrew/commits/master/Library/Formula/wgetpaste.rb 

Then i can follow the url to get some info about the formula before installing. Do we have any way to get this info in command line using brew?

like image 522
Samar Panda Avatar asked Apr 07 '13 04:04

Samar Panda


People also ask

Where does Homebrew install formulas?

Packages are installed according to their formulae, which live in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula .

What is formula and cask in brew?

Homebrew calls its package definition files “formulae” (British plural for “formula”). Homebrew-Cask calls them “casks”. A cask, just like a formula, is a file written in a Ruby-based DSL that describes how to install something. The Cellar is where Homebrew installs things.


1 Answers

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.

like image 111
Andrew Janke Avatar answered Oct 23 '22 15:10

Andrew Janke