This repository contains scripts that can be used to setup a brand new MacBook within minutes. It applies OSX settings, installs applications and can even configure your SSH keys.
After your first access to macOS follow the instructions below:
-
Update macOS via Mac App Store and signin with your AppleID
-
Open Terminal.app and download the project with the following command
git clone https://github.com/senthilprabhut/macos-setup.git ~/macos-setup
-
Edit the Brewfile file choosing the apps that you want to install
-
Open Terminal.app and run the following command
chmod -R 755 ~/macos-setup && ~/macos-setup/setup.sh
-
If you haven't previously installed X-code then click Yes in the prompt
You can also type ~/macos-setup/setup.sh [OPTION]
to trigger a specific setup script.
- all: perform complete installation of the apps and configuration of the mac
- install: install Homebrew package, binaries, casks, dependencies, and Mac Apple Store application listed in Brewfile file
- configure: configure macOS with useful commands, update zsh, and Visual Studio Code plugins and preferences
- dev: configure git, ssh, gerrit and other dev tools
Brewfile is used to specify which packages and applications you want to install with Homebrew and Homebrew Cask. You can update packages in this file by running brew bundle
from the terminal.
- @MarioCatuogno for Clean-macOS
- @booch for mac_config
- @holman for dotfiles
- Customising global defaults
- Better History