Last active
April 8, 2025 16:46
-
-
Save psteinroe/2a359726c9d25364173a230b58ee6bc1 to your computer and use it in GitHub Desktop.
A litte script to setup a new mac
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 -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
xcode-select --install | |
brew update | |
brew tap homebrew/cask | |
brew tap homebrew/cask-versions | |
export PATH="/opt/homebrew/bin:$PATH" | |
softwareupdate --install-rosetta | |
# Apps | |
brew install spotify --cask | |
brew install webstorm --cask | |
brew install pycharm --cask | |
brew install slack --cask | |
brew install google-chrome --cask | |
brew install microsoft-office --cask | |
brew install visual-studio-code --cask | |
brew install postman --cask | |
brew install pitch --cask | |
brew install notion --cask | |
brew install discord --cask | |
brew install linear-linear --cask | |
brew install raycast --cask | |
# Tools | |
brew install iterm2 --cask | |
brew install docker --cask | |
brew install pgadmin4 --cask | |
brew install caffeine --cask | |
# Deno | |
brew install deno | |
# Postgres | |
brew install postgresql | |
# Supabase | |
brew install supabase/tap/supabase | |
# PNPM | |
brew install pnpm | |
# NX CLI | |
pnpm install nx --global | |
# Perl | |
brew install perl | |
# PgTap | |
sudo cpan TAP::Parser::SourceHandler::pgTAP | |
# Cocoapods | |
sudo gem install cocoapods | |
# Terraform | |
brew tap hashicorp/tap | |
brew install hashicorp/tap/terraform | |
terraform -install-autocomplete | |
# Python | |
brew install python3 | |
pip3 install virtualenv --user | |
pip3 install --upgrade pip --user | |
brew install pyenv | |
# Poetry | |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - | |
# Go | |
brew install golang | |
# zsh | |
brew install zsh | |
# oh my zsh | |
export RUNZSH=no | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Add brew to zshrc | |
echo 'export PATH="/opt/homebrew/bin:$PATH"' >> $HOME/.zshrc | |
# Theme | |
brew install romkatv/powerlevel10k/powerlevel10k | |
echo "source $(brew --prefix)/opt/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc | |
# Fix Perl Missing Default Locale Error | |
echo "export LC_CTYPE=en_US.UTF-8" >>~/.zshrc | |
echo "export LC_ALL=en_US.UTF-8" >>~/.zshrc | |
# Add pyenv to zsh | |
echo 'eval "$(pyenv init --path)"' >> ~/.zprofile | |
echo 'eval "$(pyenv init -)"' >> ~/.zshrc | |
# Fix compaudit | |
compaudit | xargs chmod g-w | |
# Install nvm | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash | |
# Set git defaults | |
git config --global push.default current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment