dotfiles/dot_scripts/install_homebrew.sh
2020-07-14 10:37:24 +02:00

13 lines
376 B
Bash
Executable File

#!/usr/bin/env bash
# Install HomeBrew
case "$(uname -s)" in
Darwin)
echo "(Mac OS X) installing homebrew"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Prevent `Error: Your Homebrew is outdated. Please run `brew update`.`
echo "Updating Homebrew"
brew update
;;
esac