This repository contains the GNU AVR Toolchain as formulae for Homebrew.
AVR is a popular family of micro-controllers, used for example in the Arduino project.
Other GCC versions available:
Installing homebrew-avr formulae
First, make sure you have xcode command line developer tools installed with
$ xcode-select --install
Then, just run the following to install the latest version of
$ brew tap osx-cross/avr $ brew install avr-gcc
If you want to install an older version:
$ brew install avr-gcc@X
X being the version number such as
Note: only the latest version will be available in your
$PATH. The older ones are
keg-only and thus won't be availble in
You can run
brew info avr-gcc for more information on the flags available.
brew info avr-gcc,
man brew, or the Homebrew wiki.
This repository is based on the works of: