dotfiles/bin/install-brew.sh

38 lines
839 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# give me /usr/local first
#sudo chown -R "$USER" /usr/local
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Make sure were using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade --all
# Install what we need
brew install coreutils
brew install bash
brew install bash-completion2
# Switch to using brew-installed bash as default shell
if ! grep -F -q '/usr/local/bin/bash' /etc/shells; then
echo '/usr/local/bin/bash' | sudo tee -a /etc/shells;
chsh -s /usr/local/bin/bash;
fi;
brew install git
brew install node
brew install wget
brew install gpg
brew install pinentry-mac
brew install GraphicsMagick
brew install tor
brew install mas
brew install rclone
# Remove outdated versions from the cellar.
brew cleanup