bootstrap: homebrew: Initial commit

This commit is contained in:
PorridgePi
2022-09-29 19:06:11 +08:00
parent 04ed5c5368
commit d02ca42759

View File

@@ -0,0 +1,13 @@
# macOS ONLY
source $HOME/.zshenv
if [[ "$OSNAME" == "macOS" ]]; then
# macOS
if ! command -v brew &> /dev/null; then
echo 'Installing Homebrew'
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
echo 'Homebrew is installed'
fi