diff --git a/scripts/partials/homebrew b/scripts/partials/homebrew index d88a1396..b647aec7 100644 --- a/scripts/partials/homebrew +++ b/scripts/partials/homebrew @@ -29,6 +29,8 @@ if ! command -v brew > /dev/null; then # so nothing needs to be done for macOS. if [ -d /home/linuxbrew/.linuxbrew/bin ]; then eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) + elif [ -f /opt/homebrew/bin/brew ]; then + eval "$(/opt/homebrew/bin/brew shellenv)" fi fi -fi \ No newline at end of file +fi