Skip to content

Instantly share code, notes, and snippets.

@ph33nx
Last active March 9, 2024 12:30
Show Gist options
  • Save ph33nx/920a7f454eeb8f22c0b1d1de40ffe879 to your computer and use it in GitHub Desktop.
Save ph33nx/920a7f454eeb8f22c0b1d1de40ffe879 to your computer and use it in GitHub Desktop.
Fresh Mac OS Development Environment setup - bash script
#!/bin/bash
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew analytics off
brew update
# Internet
brew install --cask brave-browser
brew install --cask firefox
brew install --cask thunderbird
brew install --cask qbittorrent
# Developer tools
brew install go
brew install node@20
brew install --cask github
brew install --cask visual-studio-code
brew install python@3.12
brew install dotnet
brew install yt-dlp
brew install postgresql@16
brew services start postgresql@16 # run on startup
brew install --cask dbeaver-community
brew install --cask mamp
brew install watchman
brew install --cask db-browser-for-sqlite
# Redis
brew install redis
brew services start redis # run on startup
# Mongodb community edition
brew tap mongodb/brew
brew update
brew install mongodb-community@7.0
brew services start mongodb-community@7.0 # run on startup
brew install --cask mongodb-compass
# Helper tools
brew install --cask keka
brew install --cask utm
brew install --cask libreoffice
brew install --cask audacity
brew install --cask handbrake
# ssh
mkdir ~/.ssh
chmod 700 ~/.ssh
# Post installation
echo "Automated installation finished"
echo "Make sure to:"
echo "1. Install Logic Pro, Final Cut Pro and Magnet from App Store"
echo "2. Install Native Access from Native Instruments"
echo "3. Enable FileVault and require password instantly."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment