Questions tagged [homebrew]

System for installing command-line Unix applications and tools on OS X. Free and open-source.

Homebrew is a free and open-source package-manager for OS X, similar to MacPorts and Fink. See brew.sh.

1370 questions
901
votes
11 answers

List of all packages installed using Homebrew

Is it possible to and how do I get a list of all the packages installed on my Mac using Homebrew? I am not interested in packages installed outside of Homebrew.
amphibient
  • 10,813
  • 7
  • 23
  • 29
513
votes
3 answers

What is the difference between `brew` and `brew cask`?

So, what is the difference between brew and brew cask? I know that homebrew is a package management software. But what kind of software can I get there? Is it open source software and commercial software?
elzaphod
  • 5,369
  • 2
  • 15
  • 11
338
votes
13 answers

How do I downgrade node or install a specific previous version using homebrew?

I'm using brew. I have node installed, using brew. I want to use an earlier version of node. Online, I find instructions such as, for example: cd /usr/local/Library/Formula brew remove node --force brew versions node git checkout 83988e4…
dave4420
  • 3,689
  • 3
  • 12
  • 10
242
votes
15 answers

Where can I find the installed package path via brew

I installed some packages via brew. But I can not find where they are. I can not get access by typing hping on terminal % brew install hping (git)-[master] Warning: hping-3.20051105 already installed
poc
  • 2,629
  • 2
  • 14
  • 10
220
votes
14 answers

How to use the Homebrew installed git on Mac?

I have installed the newest version of git (1.8.3) using homebrew but when I type git --version in my terminal, it prints: git version 1.7.10.2 (Apple Git-33) What should I do to replace the old version of git with the new one?
Levani
  • 4,255
  • 5
  • 18
  • 18
207
votes
6 answers

What are pros and cons for MacPorts, Fink and Homebrew?

I'm just migrating from Ubuntu Linux to Mac, and everything is new and I'm re-learning a lot of stuff. On Linux I had the excellent apt-get to manage software packages. I googled for an alternative on Mac and found about MacPorts, Fink and…
JoaoHornburg
  • 2,173
  • 3
  • 13
  • 7
192
votes
5 answers

Homebrew: Your CLT does not support macOS 11.0

I recently upgraded to macOS Big Sur developer Beta 8, when I do brew install jenv I get the error Homebrew: Your CLT does not support macOS 11.0. I am using CommandLine tools GM version. Tried to reinstall it couple of times, nothing worked so…
Pavan Jadda
  • 2,790
  • 2
  • 9
  • 15
183
votes
5 answers

How to fix brew after OSX upgrade to Yosemite?

I faced some issue with Homebrew. I upgraded to Yosemite. After the upgrade, homebrew seems to be broken. I would run any brew command and get this error /usr/local/bin/brew: /usr/local/Library/brew.rb:…
Ranjith Ramachandra
  • 7,431
  • 6
  • 18
  • 17
135
votes
5 answers

How to fix homebrew error: "invalid active developer path" after upgrade to OS X El Capitan?

I get this error when I run brew update: $ brew update xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun xcrun: error: invalid active developer path…
Ranjith Ramachandra
  • 7,431
  • 6
  • 18
  • 17
100
votes
13 answers

Why does my brew installation not work?

I installed brew before, but it does not work now. When I run brew, it gives me the error -bash: brew: command not found So I tried to reinstall using the code ruby -e "$(curl -fsSL…
cindywmiao
  • 1,123
  • 2
  • 8
  • 5
99
votes
7 answers

Are my permissions for /usr/local/ correct?

I’m using HomeBrew for my port needs (seems a bit “cleaner” than MacPorts). I can install without sudoing (which is great), but the man linking step seems to require it (/usr/local/share/man/man3 is owned by root). A guide I found suggests I…
Agos
  • 3,524
  • 5
  • 25
  • 28
92
votes
4 answers

Is it safe to upgrade Bash via Homebrew?

I'm new to OS X. I'm running OS X Lion on a MacBook Pro. Is it safe to upgrade the bash shell using Homebrew: $ brew install bash If safe, how do I make it the default instance of the shell I run through Terminal? Thanks!
Rudy
  • 1,023
  • 1
  • 8
  • 5
90
votes
5 answers

How to install specific version of python on OS X

I need to install python3.4 on my OS X. Tried to do it with brew install python3 and now I have python 3.5.1. But I need py3.4. How can I install python3.4 on my Mac?
Paul
  • 725
  • 1
  • 6
  • 8
86
votes
7 answers

How do I install "R" on macOS using homebrew?

How do I install "R" on macOS? Ideally using Homebrew? There seems to be very little information online.
matt burns
  • 3,792
  • 3
  • 20
  • 24
85
votes
7 answers

How do I install GCC via Homebrew?

I am using Homebrew exclusively (i.e. I don’t, and won’t, use MacPorts or Fink). I also want to keep manual installations to a bare minimum.1 … But how can I install GCC? First of all, I’ve of course installed Xcode but the current version doesn’t…
Konrad Rudolph
  • 2,056
  • 2
  • 15
  • 30
1
2 3
91 92