dotfiles/brew.sh

74 lines
1.5 KiB
Bash
Raw Normal View History

2016-04-08 02:13:17 +01:00
#!/usr/bin/env zsh
2024-06-25 19:32:43 +01:00
# Check brew is installed first
if ! (( $+commands[brew] ))
then
echo "Homebrew not installed yet"
exit 1
fi
2016-04-08 02:13:17 +01:00
# update brew, and upgrade already installed formulae
brew update
brew upgrade
2024-06-25 19:32:43 +01:00
# Install GNU coreutils, (macOS ships with outdated versions)
2016-04-08 02:13:17 +01:00
brew install coreutils
# Install more system utilities
brew install moreutils findutils
# Install GNU `sed`
brew install gnu-sed --with-default-names
2024-06-25 19:32:43 +01:00
# Install more recent versions of some macOS tools.
brew install vim
brew install curl
brew install grep
brew install openssh
2016-04-08 02:13:17 +01:00
2016-05-21 17:12:33 +01:00
# Install zsh and addons
brew install zsh
2024-06-25 19:32:43 +01:00
brew install zsh-autosuggestions
2016-05-21 17:12:33 +01:00
brew install zsh-completions
2024-06-25 19:32:43 +01:00
brew install zsh-history-substring-search
2016-05-21 17:12:33 +01:00
brew install zsh-syntax-highlighting
2016-04-08 02:13:17 +01:00
# Install other useful utilities
brew install ack
2024-06-25 19:32:43 +01:00
brew install age
brew install awscli
brew install bat
brew install oven-sh/bun/bun
brew install diff-so-fancy
brew install eza
brew install fd
brew install ffmpeg
brew install fnm
brew install fzf
brew install gh
2016-04-08 02:13:17 +01:00
brew install git
brew install git-lfs
brew install gnupg
2024-06-25 19:32:43 +01:00
brew install hexyl
brew install imagemagick
brew install lazygit
brew install mcfly
brew install neovim
brew install oh-my-posh
2016-04-08 02:13:17 +01:00
brew install p7zip
brew install pcre
2024-06-25 19:32:43 +01:00
brew install ripgrep
brew install rm-improved
brew install ruby
brew install sheldon
brew install starship
brew install sqlite
2024-06-25 19:32:43 +01:00
brew install thefuck
brew install vivid
brew install wget
2016-04-08 02:13:17 +01:00
brew install xz
brew install zopfli
2024-06-25 19:32:43 +01:00
brew install zoxide
2016-04-08 02:13:17 +01:00
# Remove outdated versions from the Cellar
brew cleanup