LinuxCommandLibrary

brew-tap

Add third-party repositories to Homebrew

TLDR

List all tapped repositories

$ brew tap
copy
Tap a repository from GitHub
$ brew tap [user]/[repo]
copy
Tap repository from custom URL
$ brew tap [user]/[repo] [https://example.com/repo.git]
copy
Untap a repository
$ brew untap [user]/[repo]
copy
Create a new tap with template
$ brew tap-new [user]/[repo]
copy

SYNOPSIS

brew tap [user/repo] [url]

DESCRIPTION

brew tap adds third-party repositories to Homebrew, extending the available formulae and casks beyond the core repository. Tapped repositories are automatically updated when running brew update.
By default, tap assumes GitHub repositories, but any Git URL can be specified.

PARAMETERS

--full

Clone repository as full Git repo (enables git operations)
--force-auto-update
Auto-update even if not from GitHub
--shallow
Clone with shallow depth

USAGE

brew tap

List all currently tapped repositories
brew tap user/repo
Clone https://github.com/user/homebrew-repo
brew tap user/repo URL
Clone repository from custom URL

REPOSITORY NAMING

GitHub repositories must be named homebrew-something to use the short form. The prefix is automatically added when needed:
- brew tap user/foobar clones user/homebrew-foobar

INSTALLING FROM TAPS

After tapping, formulae are available directly:

$ brew install formula
copy
For explicit tap reference:
$ brew install user/repo/formula
copy

CAVEATS

Tapped formulae are updated automatically with brew update. When core and tap have same formula name, core takes precedence unless fully qualified. Private repositories require authentication.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community