Last active
May 26, 2025 07:45
-
-
Save cedbossneo/1ceca7835ea8d75a6f5257b2d5505c2a to your computer and use it in GitHub Desktop.
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 | |
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)" | |
echo "Installing casks" | |
brew install -f --cask google-chrome microsoft-teams jetbrains-toolbox pritunl studio-3t visual-studio-code iterm2 gather orbstack | |
echo "Installing tools" | |
brew install -f curl node git jq yarn go gradle python docker-compose git-lfs buf | |
echo "Installing libmongocryptd" | |
brew install mongodb/brew/libmongocrypt | |
echo "Installing nvm" | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash | |
nvm install 22 | |
nvm alias default 22 | |
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