Skip to content

Instantly share code, notes, and snippets.

@cedbossneo
Last active December 23, 2021 10:19
Show Gist options
  • Save cedbossneo/1ceca7835ea8d75a6f5257b2d5505c2a to your computer and use it in GitHub Desktop.
Save cedbossneo/1ceca7835ea8d75a6f5257b2d5505c2a to your computer and use it in GitHub Desktop.
#!/bin/bash
arch_name="$(uname -m)"
if [[ "$arch_name" != "arm64" ]]; then
echo "Please run this script on the terminal app with bash to ensure that your are on arm64 platform"
exit
fi
sudo softwareupdate --install-rosetta --agree-to-license
echo "Installing Brew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew install -f --cask google-chrome microsoft-teams jetbrains-toolbox pritunl robo-3t visual-studio-code iterm2 discord slack
brew install -f curl node git jq yarn go gradle python docker-compose git-lfs
echo "Please install Docker from https://docs.docker.com/docker-for-mac/apple-m1/"
cat <<EOF >> ~/.zprofile
eval \$(/opt/homebrew/bin/brew shellenv)
EOF
chsh -s /bin/zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment