This repository contains my personal dotfiles for setting up a new macOS machine. It includes configurations for development tools, system preferences, and a streamlined setup process.
-
Shell & Package Management
- Oh My Zsh for enhanced shell experience
- Homebrew for package management
- Homebrew Bundle for managing all applications and binaries
-
Development Environment
- Latest Node.js LTS version via nvm
- PHP development tools:
phpcs
&phpcbf
configured for Drupal coding standardscomposer-diff
for comparing Composer dependencies
- DDEV development environment setup with mkcert
- Git configuration with global settings
-
System Configuration
- Custom macOS defaults for optimal development experience
- Project directory structure setup
- Automatic repository cloning for personal projects
-
Prerequisites
- Ensure you have SSH keys set up and added to GitHub
- Have a fresh macOS installation ready
-
Setup Process
# Clone the repository git clone --recursive git@github.com:abhisekmazumdar/dotfiles.git ~/.dotfiles # Run the installation script cd ~/.dotfiles && ./fresh.sh
The installation script will:
- Install and configure Oh My Zsh
- Set up Homebrew and install all specified packages
- Create symbolic links for configuration files
- Set up development tools and environments
- Configure system preferences
- Optionally clone your GitHub repositories
brew/
- Homebrew bundle configurationgit/
- Git configuration filesmacos/
- macOS system preferenceszsh/
- Zsh configuration filesfresh.sh
- Main installation scriptclone.sh
- Repository cloning script
After setting up your new Mac, you may want to clean install your old machine. Follow Apple's official guide for erasing and reinstalling macOS. Remember to backup your data first!
This project is open source and available under the MIT License.