guide made by jxhug. video here: if you enjoy the guide please give the video a like :)
/bin/bash -c "$(curl -fsSL [<https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>](<https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>))"
(echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> /Users/yourusername/.zprofile
eval "$(/usr/local/bin/brew shellenv)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/yourusername/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
xcode-select --install
brew help
brew doctor
brew cleanup
brew install sdl2 freetype2 fontconfig pkg-config opus jpeg jpeg-turbo libpng libedit python3
git clone --recursive [<https://github.com/nillerusr/source-engine>](<https://github.com/nillerusr/source-engine>)
cd source-engine
python3 waf configure -T release --prefix='' --build-games=portal
python3 waf build