Brew Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
where <''URL''> is a zip or tar file, installed with  
where <''URL''> is a zip or tar file, installed with  


brew install <''formula''>
brew install <''formula''>


and debugged with:
and debugged with:

Revision as of 17:58, 20 April 2018

Internal

Formula

A formula is a package definition written in Ruby. It can be created with

brew create <URL> 

where <URL> is a zip or tar file, installed with

brew install <formula>

and debugged with:

brew install --debug --verbose <formula>

Bottle

Tap

Cask

User Space vs. System Space

Commands

update

Fetches the latest version of Homebrew and all formulae and upgrades.

doctor

Checks the Homebrew installation for potential problems and exit with a non-zero status if potential problems are found.

cleanup

Remove old version from cellar for all installed (or specified) formulae. Old downloads from the Homebrew download-cache are deleted.