Last active
May 6, 2025 07:58
-
-
Save dcai/1274526 to your computer and use it in GitHub Desktop.
macos setup script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# essentials | |
/opt/homebrew/bin/brew install fish | |
echo /opt/homebrew/bin/fish | sudo tee -a /etc/shells | |
chsh -s /opt/homebrew/bin/fish | |
echo "# must have casks" | |
brew install --cask hammerspoon raycast espanso iterm2 ghostty | |
echo "# nerd font" | |
brew install font-iosevka-term-nerd-font | |
echo "# must have cli" | |
brew install \ | |
aspell cspell ispell \ | |
bat bat-extra \ | |
btop htop \ | |
colordiff \ | |
coreutils \ | |
dfc duf \ | |
direnv \ | |
exiftool \ | |
fd \ | |
fish \ | |
gawk gnu-sed gnupg2 \ | |
git git-delta git-tig \ | |
gopass \ | |
imagemagick \ | |
iproute2mac \ | |
jq yq \ | |
lsd \ | |
mise \ | |
macchina fastfetch \ | |
ncdu \ | |
openssl \ | |
pandoc \ | |
pcre pcre2 \ | |
pv \ | |
python3 \ | |
qpdf \ | |
rg ast-grep \ | |
rsync \ | |
sponge \ | |
tokei \ | |
tmux tmuxp \ | |
tree \ | |
vim neovim \ | |
watch watchexec watchman \ | |
xz \ | |
xurls \ | |
yazi | |
echo "# lua" | |
brew install lua-language-server luajit luarocks stylua | |
echo "# Python" | |
bew install \ | |
uv \ | |
ruff \ | |
pipx \ | |
python-packaging \ | |
python-setuptools | |
uv tool install git-filter-repo | |
uv tool install yt-dlp | |
uv tool install pgcli | |
uv tool install mycli | |
uv tool install litecli | |
uv tool install pyright | |
# echo "# db cli stuff" | |
# brew install litecli mycli pgcli | |
echo "# node and typescript" | |
brew install pnpm yarn prettier biome \ | |
typescript typescript-language-server | |
echo "# clang" | |
brew install clang-format llvm cmake | |
echo "# Go" | |
brew install golang gopls | |
echo "# Coding stuff" | |
brew install \ | |
shellcheck shfmt \ | |
tree-sitter | |
# brew install -f gdu | |
# brew link --overwrite gdu # if you have coreutils installed as well | |
# docker stuff | |
# brew install ctop lazydocker | |
# echo "# dotnet stuff" | |
# brew install --cask dotnet-sdk | |
# cloud stuff | |
# brew install aws-cdk awscli azure-cli google-cloud-sdk | |
echo "# motd stuff" | |
brew install lolcat fortune | |
echo "# essential dev casks" | |
brew install --cask the-unarchiver slack postman uninstallpkg | |
echo "# home computer must have" | |
brew install --cask iina itsycal zed jordanbaird-ice | |
# brew install --cask dropbox wechat v2rayu | |
## Universal Ctags (abbreviated as u-ctags) is a maintained implementation of ctags | |
# brew install --HEAD universal-ctags/universal-ctags/universal-ctags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment