in automation scripts), prepend NONINTERACTIVE=1 to the installation command. If you want a non-interactive run of the Homebrew installer that doesn’t prompt for passwords (e.g. to have a system set of libs in the default prefix and tweaked formulae for development in ~/homebrew. Whichever brew command is called is where the packages will be installed.
Pick another prefix at your peril!īrew update -force -quiet chmod -R go-w " $(brew -prefix ) /share/zsh" Multiple installationsĬreate a Homebrew installation wherever you extract the tarball. One of the reasons Homebrew just works relative to the competition is because we recommend installing here. Some things may not build when installed elsewhere.
However do yourself a favour and use the installer to install to the default prefix.