You can't get the action to install or the dependent switchaudio-osx program to install?
If the later then yes you need the Xcode command line tools installed. See and follow the home-brew instructions first.
If the later then yes you need the Xcode command line tools installed. See and follow the home-brew instructions first.