dotfiles/bin/install-brew.sh

38 lines
661 B
Bash
Raw Normal View History

#!/bin/bash
2015-08-08 23:31:44 +02:00
# give me /usr/local first
2017-09-10 00:59:34 +02:00
#sudo chown -R "$USER" /usr/local
2015-08-08 23:31:44 +02:00
2014-02-24 17:35:21 +01:00
# Install Homebrew
2022-06-24 23:00:09 +02:00
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2014-02-24 17:35:21 +01:00
2012-06-18 21:46:35 +02:00
# Make sure were using the latest Homebrew
brew update
# Upgrade any already-installed formulae
2015-08-08 23:31:44 +02:00
brew upgrade --all
2012-06-18 21:46:35 +02:00
# Install what we need
2017-09-10 14:35:46 +02:00
brew install \
coreutils \
2019-08-19 00:37:26 +02:00
zsh \
zsh-syntax-highlighting \
zsh-autosuggestions \
2017-09-10 14:35:46 +02:00
git \
wget \
gpg \
2018-10-22 23:16:39 +02:00
nvm \
2017-09-10 14:35:46 +02:00
pinentry-mac \
2017-10-16 17:02:35 +02:00
openssl \
2017-09-10 14:35:46 +02:00
tor \
2022-06-24 23:00:09 +02:00
pure \
2019-06-08 02:42:18 +02:00
python \
2017-09-10 14:35:46 +02:00
rclone \
rsync \
shellcheck \
ipfs \
2018-03-01 22:39:58 +01:00
clamav
2015-08-01 16:23:42 +02:00
2015-08-08 23:31:44 +02:00
# Remove outdated versions from the cellar.
brew cleanup