This repository holds the relevant homebrew formulas to install the Gerbera Media Server.
Use the documentation to establish a new Tap:
$ brew tap gerbera/homebrew-gerbera
Check that you have the gerbera/gerbera
tap.
$ brew tap
==> Auto-updated Homebrew!
caskformula/caskformula
gerbera/gerbera
homebrew/cask
homebrew/core
brew install gerbera
mkdir ~/.config/gerbera
gerbera --create-config | sed 's/accounts enabled="no"/accounts enable="yes"/' > ~/.config/gerbera/config.xml
gerbera &
sleep 5 ; open -a Safari http://0.0.0.0:49152/
Use gerbera/gerbera for login and password to connect.