Last active
April 17, 2024 20:43
-
-
Save pawelad/eb3e352b32582aa716c299ebf0a89222 to your computer and use it in GitHub Desktop.
macOS bootstrap script
This file contains 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
set -eo pipefail | |
# Brew | |
echo "### brew ###" | |
if [ ! -f /opt/homebrew/bin/brew ]; then | |
echo "Brew not found, installing" | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
else | |
echo "Brew installed" | |
fi | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
brew update | |
brew upgrade | |
brew install \ | |
awscli \ | |
bat \ | |
fzf \ | |
gh \ | |
git \ | |
go \ | |
htop \ | |
httpie \ | |
jq \ | |
pwgen \ | |
pyenv \ | |
pyenv-virtualenv \ | |
python \ | |
serverless \ | |
sqlite \ | |
starship \ | |
terraform \ | |
vim \ | |
zsh \ | |
zsh-autosuggestions \ | |
zsh-completions | |
brew install --cask \ | |
1password \ | |
aerial \ | |
alfred \ | |
authy \ | |
backblaze \ | |
dash \ | |
disk-inventory-x \ | |
docker \ | |
firefox \ | |
google-chrome \ | |
google-drive \ | |
gpg-suite-no-mail \ | |
iina \ | |
imageoptim \ | |
iterm2 \ | |
keka \ | |
native-access \ | |
notion \ | |
postgres-unofficial \ | |
postico \ | |
pycharm \ | |
signal \ | |
slack \ | |
spotify \ | |
steam \ | |
tor-browser \ | |
transmission \ | |
visual-studio-code \ | |
vlc \ | |
brew tap homebrew/cask-fonts | |
brew install --cask \ | |
font-fira-code \ | |
font-fira-code-nerd-font | |
# zsh | |
echo "### zsh ###" | |
if [ ! -f ~/.zshrc ]; then | |
echo ".zshrc not found, grabbing it from GitHub" | |
curl -s -w '\n' https://gist.githubusercontent.com/pawelad/07d0759859a073c00dd20a17238112f2/raw/203d973e95434fba2c5e0476cc8cdf216a706d51/.zshrc > ~/.zshrc | |
else | |
echo ".zshrc found" | |
fi | |
# fzf | |
echo "### fzf ###" | |
$(brew --prefix)/opt/fzf/install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment