From 9084cd21b167ee19f96cfb31911fb74f210584c9 Mon Sep 17 00:00:00 2001 From: EricFromCanada Date: Wed, 9 Feb 2022 19:40:05 -0500 Subject: [PATCH] Installation.md: add section for non-interactive installation --- docs/Installation.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/Installation.md b/docs/Installation.md index bb4d80a532..d4486ad734 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -63,6 +63,10 @@ chmod -R go-w "$(brew --prefix)/share/zsh" Create a Homebrew installation wherever you extract the tarball. Whichever `brew` command is called is where the packages will be installed. You can use this as you see fit, e.g. to have a system set of libs in the default prefix and tweaked formulae for development in `~/homebrew`. +### Unattended installation + +If you want a non-interactive run of the Homebrew installer that doesn't prompt for passwords (e.g. in automation scripts), prepend [`NONINTERACTIVE=1`](https://github.com/Homebrew/install/#install-homebrew-on-macos-or-linux) to the installation command. + ## Uninstallation Uninstallation is documented in the [FAQ](FAQ.md).