Run anything at startup by simply placing it in a special folder
brew install --cask startupfolder
startupfolder