-
Notifications
You must be signed in to change notification settings - Fork 1
/
brew
executable file
·51 lines (43 loc) · 1.17 KB
/
brew
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env bash
# Install CLI and GUI software using Homebrew.
#
# Run periodically to update/upgrade Homebrew and packages.
#
# See: https://github.com/mathiasbynens/dotfiles/blob/master/brew.sh
# Make sure we’re using the latest Homebrew
brew update
# Packages (CLIs)
brew install bash
brew install bash-completion@2
if ! grep -Fq '/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 vim
brew install git
brew install ripgrep
brew install shellcheck
brew install jq
brew install bat
brew install fzf
brew install htop
brew install gpg-suite
brew install obsidian
brew install leiningen
brew install postgresql@14
# Casks (GUIs)
brew install --cask iterm2
brew install --cask firefox
brew install --cask rectangle
brew install --cask aerial
# brew install --cask caffeine
# brew install --cask docker
# Upgrade any other installed formulae.
# Do this last so it's easier to notice if anything is
# upgraded and should be explicitly installed above
brew upgrade
brew upgrade --cask --greedy
# Remove outdated versions from the cellar
brew cleanup
# Try and catch issues early
brew doctor