Set up your Mac for development with Homebrew. This repository contains a curated list of tools and applications I commonly use.
# Create, copy and paste the code from the respective files.
touch Brewfile
touch install.sh
# Or if you have git installed
git clone https://github.com/zaiyou12/auto-setup.git
cd auto-setup
bash install.sh
Installation proceeds in the following order.
- Install homebrew
- Install homebrew packages
- Install others using shell script
During the setup, you will be prompted to enter your Git user name and email. This is essential for configuring Git globally on your system. If you already have existing Git configurations, you will be given the option to update them.
If you are currently using Homebrew on another Mac, it's recommended to back up your existing packages. Use the following commands:
# Backup your own Homebrew packages
brew bundle dump
cat Brewfile
# On another Mac, restore the packages
brew bundle