about summary refs log blame commit diff
path: root/install_brew.sh
blob: a86f1a1556db5d26f1b6de8b044881551c14f9fd (plain) (tree)




















                                                                                                    
#!/usr/bin/env bash

echo "Installing Homebrew..."
$(which ruby) -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
$(which ruby) -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Homebrew installed."
echo ""

pushd "$HOME/pc_settings"

# install brew dependencies
echo "Installing Homebrew packages..."
cat ./brew_packages.txt | xargs brew install
echo "Homebrew packages installed."
echo ""

echo "Homebrew installed complete!"
echo ""

popd