Skip to content Skip to sidebar Skip to footer

Homebrew - What's The Difference Between `python@3` And `python3`?

I have python 2.7.14 installed via homebrew, and I'd like to install the latest version of python 3 via homebrew as well. When I search for 'python3' I see the following results.

Solution 1:

Right now, there are only two distinct Formula for Python in homebrew-core: python, and python@2.

python@3 and python3 are both aliases to Formula/python.rb. Thus, they're just different names that install the same package.

See the two aliases:

...both pointing to:


To find this yourself, use brew info -- for example, brew info python@3 -- and look for the From: line with a URL to the formula which was used. For example, this line might look like:

From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/python.rb

Post a Comment for "Homebrew - What's The Difference Between `python@3` And `python3`?"