Page MenuHomePhorge

install_homebrew_macos.sh
No OneTemporary

Size
396 B
Referenced Files
None
Subscribers
None

install_homebrew_macos.sh

#!/usr/bin/env bash
set -euo pipefail
# Currently, this script only works on macOS as it assumes homebrew usage
if ! [[ "$OSTYPE" == 'darwin'* ]]; then
echo "This script is only meant to be ran on macOS" >&2
exit 1
fi
if ! command -v brew >/dev/null; then
echo "Installing Homebrew..." >&2
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi

File Metadata

Mime Type
text/x-shellscript
Expires
Sun, Dec 7, 4:32 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5234573
Default Alt Text
install_homebrew_macos.sh (396 B)

Event Timeline