Automation scripts to set up macOS for software development, privacy and general use.
When running the main script, you can select the automated setup or to update the backup. Here's a description for each option:
- Automated Setup
- Installs Homebrew.
- Restores backup: - Symlinks dotfiles from the repo to the home folder.
- Installs packages from a Brewfile using brew, mas and some Language Servers missing from Brew, using npm.
- Changes macOS default preferences and specific Darwin tweaks (eg: TouchID for sudo).
- Changes user shell to fish.
- Automatically changes persistent dock apps. To add apps, edit the app list on this file.
- Installs Colemak-dh layout.
- Installs Kanata and Karabiner Driver as services automatically. With Kanata I have Advanced keyboard remaps with home row mods and layers.
- Update Backup
- Moves dotfiles (.config/ and .zshrc) to the project directory then creates symlinks back to $HOME.
- Updates Brewfile from brew packages installed.
Caution
Choosing Automated Setup will overwrite your dotfiles. If you want to use this project with your own backup read the wiki..
Check dependencies:
xcode-select --install
Start:
git clone https://github.com/Jaycedam/mac-setup.git ~/dev/mac-setup
bash ~/dev/mac-setup/main.sh
Then select the option for the automatic setup.
Some settings must be changed manually due to API limitation or lack of documentation. Check this issue for more details.