Error running setup.command on mac

Hi
I am trying to setup version 4.15 to build on y mac but get the following error

Engine/Build/BatchFiles/Mac/GitDependencies.sh: line 26: 24508 Killed: 9               mono Engine/Binaries/DotNET/GitDependencies.exe "$@"

I downloaded the source from github in the zip and expanded it, then followed the online instructions to build it, but when i run setup.command i get the above error.

Hi
I managed to get things to run, turned out that mono wouldnt run in the zsh shell, I got round this by putting a link
to it in the usr/local/bin

ln -s /Library/Frameworks/Mono.framework/Versions/Current/bin/mono /usr/local/bin/mono

Works ok now