• Stars
    star
    2,024
  • Rank 21,874 (Top 0.5 %)
  • Language
    Shell
  • License
    BSD 2-Clause "Sim...
  • Created over 9 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ“₯ Homebrew (un)installer

Homebrew (un)installer

Install Homebrew (on macOS or Linux)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

More installation information and options: https://docs.brew.sh/Installation.

If you are running Linux or WSL, there are some pre-requisite packages to install.

You can set HOMEBREW_NO_INSTALL_FROM_API to tap Homebrew/homebrew-core; by default, it will not be tapped as it is no longer necessary.

You can set HOMEBREW_BREW_GIT_REMOTE and/or HOMEBREW_CORE_GIT_REMOTE in your shell environment to use geolocalized Git mirrors to speed up Homebrew's installation with this script and, after installation, brew update.

export HOMEBREW_BREW_GIT_REMOTE="..."  # put your Git mirror of Homebrew/brew here
export HOMEBREW_CORE_GIT_REMOTE="..."  # put your Git mirror of Homebrew/homebrew-core here
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

The default Git remote will be used if the corresponding environment variable is unset.

If you want to run the Homebrew installer non-interactively without prompting for passwords (e.g. in automation scripts), you can use:

NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Uninstall Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

If you want to run the Homebrew uninstaller non-interactively, you can use:

NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

Download the uninstall script and run /bin/bash uninstall.sh --help to view more uninstall options.

More Repositories

1

brew

🍺 The missing package manager for macOS (or Linux)
Ruby
38,957
star
2

legacy-homebrew

πŸ’€ The former home of Homebrew/homebrew (deprecated)
27,030
star
3

homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
Ruby
20,458
star
4

homebrew-core

🍻 Default formulae for the missing package manager for macOS (or Linux)
Ruby
13,114
star
5

homebrew-bundle

πŸ“¦ Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store.
Ruby
4,852
star
6

homebrew-cask-fonts

πŸ–‹ Casks of οΌ¦πŸ…Ύπ“π“πš‚
Ruby
2,836
star
7

homebrew-services

πŸš€ Manage background services using the daemon manager launchctl on macOS or systemctl on Linux.
Ruby
1,915
star
8

formulae.brew.sh

🏎 An online formulae browser for Homebrew
HTML
1,341
star
9

homebrew-cask-versions

πŸ”’ Alternate versions of Casks
Ruby
1,175
star
10

linuxbrew-core

πŸ’€Formerly the core formulae for the Homebrew package manager on Linux
Ruby
1,160
star
11

homebrew-cask-drivers

πŸ’€ Casks of Drivers (deprecated)
461
star
12

homebrew-command-not-found

πŸ” Ubuntu’s command-not-found equivalent for Homebrew on macOS
Ruby
373
star
13

discussions

πŸ—£ Public open-ended discussions. Replacement for our Discourse.
372
star
14

ruby-macho

πŸ”© A pure-Ruby library for parsing Mach-O files.
Ruby
232
star
15

homebrew-aliases

➑️ Aliases for Homebrew
Ruby
144
star
16

brew.sh

πŸ”– The Homebrew homepage
HTML
131
star
17

homebrew-portable-ruby

πŸš— Versions of Ruby that can be installed and run from anywhere on the filesystem.
Ruby
114
star
18

actions

πŸš€ Homebrew's GitHub Actions
JavaScript
99
star
19

homebrew-livecheck

πŸ’€ Homebrew/homebrew-livecheck (deprecated)
96
star
20

homebrew-test-bot

🎰 Tests the full lifecycle of a Homebrew change.
Ruby
74
star
21

formula-patches

πŸ₯ Patches for Homebrew formulae
C
63
star
22

gsoc

πŸ’€ Homebrew's Google Summer of Code (deprecated)
52
star
23

.github

πŸ‘©β€βš•οΈ Default community health files for the Homebrew organisation on GitHub.
34
star
24

rubydoc.brew.sh

πŸ“– An online Ruby documentation browser for Homebrew/brew
Ruby
23
star
25

homebrew-linux-dev

πŸ’€ Homebrew/homebrew-linux-dev (deprecated)
Ruby
20
star
26

homebrew-formula-analytics

πŸ”’ Query Homebrew's analytics from the command-line.
Ruby
12
star
27

homebrew-governance

πŸ’€Homebrew's governance (deprecated)
10
star
28

brew-pip-audit

πŸ“‹ Bulk auditing Python dependencies in Homebrew with pip-audit
Ruby
8
star
29

glibc-bootstrap

Shell
6
star
30

orka_api_client

A Ruby gem for interfacing with MacStadium's Orka API
Ruby
5
star
31

ci-orchestrator

Manager of CI machine deployment and teardown (for internal Homebrew use)
Ruby
5
star