Check this out: https://stackoverflow.com/questions/72951813/how-to-install-homebrew-on-jelastic/72951814#72951814