-
-
Save Villanuevand/128b7d6ad65f702bd596e83179b2d234 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 slack --cask | |
# Tools | |
brew install warp --cask | |
# Deno | |
brew install deno | |
# PNPM | |
brew install pnpm | |
# NX CLI | |
pnpm install nx --global | |
# 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 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