dotfiles/brew.sh
Jonny Barnes 5d0688c827
Add which-key and nvim-web-devicons, tidy brew casks
which-key needs an icon backend and treats mini.icons and
nvim-web-devicons as equally viable optional deps, so devicons covers
it. Both are pure APIs with no visible effect on their own; devicons
self-initialises on require, so no setup() call.

Group labels for the <leader>h and <leader>t prefixes live in the
which-key config rather than next to the gitsigns maps they describe,
keeping which-key's config in one place. Worth moving if more plugins
start contributing prefixes.

The Nerd Font the glyphs need was installed by hand on this machine
but missing from brew.sh, so a fresh bootstrap would have rendered
every icon as tofu. Records it as a cask alongside the ghostty
font-family setting that already expects it.

Also drops the claude-code cask, which was never actually installed
here: brew tracks stable releases, and we want newer ones, so it comes
from Claude's own installer instead. Left a comment so it doesn't get
re-added.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-08 14:26:59 +01:00

82 lines
1.8 KiB
Shell
Executable file

#!/usr/bin/env zsh
# Check brew is installed first
if ! (( $+commands[brew] ))
then
echo "Homebrew not installed yet"
exit 1
fi
# update brew, and upgrade already installed formulae
brew update
brew upgrade
# Install GNU coreutils, (macOS ships with outdated versions)
brew install coreutils
# Install more system utilities
brew install moreutils findutils
# Install GNU `sed` (as `gsed` - we deliberately don't shadow BSD sed, see zshrc.zsh)
brew install gnu-sed
# Install more recent versions of some macOS tools.
brew install vim
brew install curl
brew install grep
brew install openssh
brew install rsync
brew install zsh
# Install other useful utilities
brew install ack
brew install age
brew install awscli
brew install b3sum
brew install bat
brew install bun
brew install diff-so-fancy
brew install eza
brew install fd
brew install ffmpeg
brew install fnm
brew install fzf
brew install gh
brew install git
brew install git-delta
brew install git-lfs
brew install gnupg
brew install hexyl
brew install jq
brew install lazygit
brew install mcfly
brew install neovim
brew install p7zip
brew install pcre
brew install ripgrep
brew install rm-improved
brew install ruby
brew install sheldon
brew install sqlite
brew install thefuck
brew install tmux
brew install uv
brew install vivid
brew install wget
brew install xz
brew install zopfli
brew install zoxide
# Install some casks
brew install --cask 1password-cli
brew install --cask airbuddy
# Deliberately no claude-code cask: brew tracks stable, we want newer
# releases, so it's installed via Claude's own installer into ~/.local/bin
# Terminal font for ghostty; also supplies the glyphs nvim-web-devicons needs
brew install --cask font-hack-nerd-font
brew install --cask ngrok
brew install --cask silentknight
brew install --cask sublime-text
# Remove outdated versions from the Cellar
brew cleanup