-
go to the official download page for ARM Toolchain
-
checkout version 6-2017-q2-update and download the pre-built files according to your operating system.
-
decompress it to your
~
(home) directory and find an absolute path to thebin/
directory.In my case:
/Users/alvin/gcc-arm-none-eabi-6-2017-q2-update/bin
. -
Add the following line (replace
<path>
with the path your found in step 3) to~/.bashrc
for bash users or~/.zshrc
for zsh users.
export PATH=<path>:$PATH