Small bash script to install CERN Root and Geant4 with its dependencies. Currently works only on Ubuntu based distros and MacOS.
brew install qt@5
brew install doxygen
brew install xquartz
echo 'source /opt/root/bin/thisroot.sh' >> /etc/zshrc
echo 'source /opt/geant4/bin/geant4.sh' >> /etc/zshrc