To install dotfiles on a new Mac, run the setup script. It will automatically:
- Install Xcode Command Line Tools
- Install Homebrew (if not present)
- Clone this repository (if not already cloned)
- Configure Git (prompts for name/email)
- Install oh-my-zsh
- Create symlinks for all configuration files
- Install all Homebrew packages and casks
Run the setup script directly from the repository:
# If you've already cloned the repo
cd ~/dotfiles
./setup-mac.sh
# Or download and run in one command
curl -Ls https://raw.githubusercontent.com/j4hr3n/dotfiles/main/setup-mac.sh | bashThe script will guide you through the setup process and prompt for any required information (like Git name and email).
If you prefer to set up manually:
-
Clone the repository:
git clone https://github.com/j4hr3n/dotfiles.git ~/dotfiles cd ~/dotfiles
-
Run the setup script:
./setup-mac.sh
- Shell: zsh with oh-my-zsh and custom aliases
- Terminal: Ghostty configuration
- Development Tools: Git, Node.js (via fnm), GitHub CLI
- Applications: Arc, Cursor, Figma, Notion, Raycast, Slack, Spotify, 1Password, and more
- Utilities: fzf, jq, yq, fx, and other productivity tools
See Brewfile for the complete list of packages and applications.