This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install xpm using npm | |
$ npm install --global xpm@latest | |
# Install xPack distribution of Arm toolchain with Apple M1 Silicon support | |
$ xpm install @xpack-dev-tools/[email protected] | |
# Add Arm toolchain binaries to PATH in your .bashrc or .zshrc | |
$ echo 'export PATH="$HOME/Library/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.3.1/.content/bin:$PATH"' >> ~/.bashrc | |
$ source ~/.bashrc |