Toolchain installation issue

Hi I was trying to install the Diasy toolchain but my installer stops responding when I click agree to the license so I tried to manually install the toolchain by running the install.command file where I get:

Installing DaisyToolchain
Updating Homebrew
==> Updating Homebrew...
Already up-to-date.
Installing packages with Homebrew
Warning: open-ocd 0.12.0_1 is already installed and up-to-date.
To reinstall 0.12.0_1, run:
  brew reinstall open-ocd
Warning: dfu-util 0.11 is already installed and up-to-date.
To reinstall 0.11, run:
  brew reinstall dfu-util
Warning: Not upgrading gcc-arm-embedded, the latest version is already installed
find: /usr/local/Caskroom/gcc-arm-embedded: No such file or directory
find: /usr/local/Caskroom/gcc-arm-embedded: No such file or directory
Done

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

but when I open the blink example and run task build_all on vscode I get:

 *  Executing task: make 

arm-none-eabi-g++ -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -DSTM32H750xx  -ISource -ISource/Control -ISource/Drums -ISource/Dynamics -ISource/Effects -ISource/Filters -ISource/Noise -ISource/PhysicalModeling -ISource/Synthesis -ISource/Utility  -O3 -Wall -Werror -fdata-sections -ffunction-sections -MMD -MP -MF"build/adenv.d" -MT"build/adenv.d" -fno-exceptions -finline-functions  -std=gnu++14 -static -Wa,-a,-ad,-alms=build/adenv.lst Source/Control/adenv.cpp -o build/adenv.o
/bin/sh: arm-none-eabi-g++: command not found
make: *** [build/adenv.o] Error 127

 *  The terminal process "/bin/zsh '-l', '-c', 'make'" failed to launch (exit code: 2). 
 *  Terminal will be reused by tasks, press any key to close it. 

I’m on a 2023 MacBook pro with M2 pro and macOS Sonoma 14.3.1, does anyone know what might help?

Also a first time user, hopefully someone else who knows better will chime in. But here’s what I did to get the build to run ok, as in no shouty messages. Though I’m still waiting for the postman so I can try this out on real hardware…

I installed by manually by following what’s in here:

Install homebrew if you haven’t already.

brew install openocd dfu-util

Cloned the toolchain repo to get the brew rb install script.

git clone https://github.com/electro-smith/DaisyToolchain/
cd DaisyToolChain/macOS
brew install --cask gcc-arm-embedded.rb

The last two commands are:

find /usr/local/Caskroom/gcc-arm-embedded -type f -perm +111 -print | xargs spctl --add --label "gcc-arm-embedded"
find /usr/local/Caskroom/gcc-arm-embedded | xargs xattr -d com.apple.quarantine

brew installs to a different location if you’re using Apple silicon chips.

So change /usr/local/Caskroom to /opt/homebrew/Caskroom/

I didn’t actually have a quarantine flag on my binaries, so the last step didn’t do anything, except complain.

Note if you’ll also need to install python, and add the python command to your path. By default brew installs it as python3.

Hope that helps.