Linux command
brew-tap 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List all tapped repositories
brew tap
Tap a repository from GitHub
brew tap [user]/[repo]
Tap repository from custom URL
brew tap [user]/[repo] [https://example.com/repo.git]
Untap a repository
brew untap [user]/[repo]
Create a new tap with template
brew tap-new [user]/[repo]
说明
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.
参数
- --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
FAQ
What is the brew-tap command used for?
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.
How do I run a basic brew-tap example?
Run `brew tap` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --full do in brew-tap?
Clone repository as full Git repo (enables git operations)