A collection of dotfiles and scripts for setting up a macOS development environment.
- Automated installation script
- macOS system preferences and settings
- Homebrew package management with Brewfile
- ZSH configuration
- Various development tool configurations
- macOS (tested on macOS Sonoma)
- Git (for cloning this repository)
-
Clone this repository:
git clone https://github.com/yourusername/dotfiles.git cd dotfiles
-
Run the installation script:
./install.sh
The installation script will:
- Install Xcode Command Line Tools if not present
- Install Homebrew if not present
- Install all packages from the Brewfile
- Backup existing dotfiles
- Create symbolic links for all dotfiles
- Configure macOS settings
.zshrc
: ZSH shell configuration.config/
: Various tool configurationsBrewfile
: Homebrew packages and applicationsmacos.sh
: macOS system preferencesinstall.sh
: Main installation script
After installation:
- Restart your computer to apply all settings
- Open iTerm2 (it will be installed via Homebrew)
- Your old configuration files will be backed up in
~/.dotfiles_backup_[timestamp]
Feel free to fork this repository and modify any of the files to match your preferences:
- Edit the
Brewfile
to add/remove packages - Modify
macos.sh
to change system preferences - Update
.zshrc
for shell customization
This project is licensed under the MIT License - see the LICENSE file for details.