Skip to content

Instantly share code, notes, and snippets.

@tatarurzvn
Last active June 5, 2024 09:21
Show Gist options
  • Save tatarurzvn/6fba28c98f1c11c9a1f3295963349e7b to your computer and use it in GitHub Desktop.
Save tatarurzvn/6fba28c98f1c11c9a1f3295963349e7b to your computer and use it in GitHub Desktop.
new macos setup
# Install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/tatarurzvn/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
# Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Update brew
brew update
# Xcode
xcode-select --install
# Install tfenv, terraform
brew install tfenv
brew install terragrunt
# Install docker
brew install docker
# Install htop
brew install htop
# Github tools
brew install gh
# Set upstream directly
git config --global --add --bool push.autoSetupRemote true
# GPG
brew install gpg
# Azure CLI
brew install azure-cli
# Allow sudo with touchid
sed "s/^#auth/auth/" /etc/pam.d/sudo_local.template | sudo tee /etc/pam.d/sudo_local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment