Skip to content

Instantly share code, notes, and snippets.

@ColeMurray
Created May 16, 2024 22:30
Show Gist options
  • Save ColeMurray/ecf94465bc0239add08c24322e15b354 to your computer and use it in GitHub Desktop.
Save ColeMurray/ecf94465bc0239add08c24322e15b354 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Update and upgrade Homebrew
echo "Updating Homebrew..."
brew update
brew upgrade
# Install nvm (Node Version Manager)
echo "Installing nvm..."
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
echo "Installing rvm..."
curl -o- curl -sSL https://get.rvm.io | bash
PACKAGES=(
android-platform-tools
bison
cocoapods
cmake
curl
git
jq
kubectl
libpq
pyenv
pyenv-virtualenv
shared-mime-info
tmux
tree
wget
vim
youtube-dl
z
zsh
zsh-completions
zsh-autosuggestions
zsh-syntax-highlighting
)
brew install "${PACKAGES[@]}"
CASKS=(
android-studio
google-chrome
docker
flycut
homebrew/cask-drivers/nordic-nrf-connect
mysqlworkbench
pycharm
pgadmin4
qbittorrent
react-native-debugger
rubymine
webstorm
visual-studio-code
virtualbox
vlc
)
brew install --cask "${CASKS[@]}"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo "Setting up zsh as the default shell..."
chsh -s /bin/zsh
echo "All tools installed successfully! Please restart your terminal to apply changes."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment