Issues Running Shell Script on Apple Silicon


I've recently gotten a new 14 inch Macbook Pro (I used time machine to carry over my previous files from my 2019 MBP) and have had issues trying to run shell scripts. I have re-installed homebrew and the different scripts I want to use.

I'm trying to use this command to check the current audio source. It works in terminal but not in BTT. Can anyone see any issues with it?

do shell script
"/opt/homebrew/bin/SwitchAudioSource -c"