Skip to content

Ain't no place like ~. Scripts and config files to setup macOS from scratch.

License

Notifications You must be signed in to change notification settings

janosh/macos-setup

Repository files navigation

macOS Setup Automation pre-commit.ci status

Purpose

This repo contains shell scripts and config files which, when executed and copied into their respective destinations, bring a clean install of macOS into a working-ready state.

Forked from Vítor’s dotfiles but quite diverged now.

Usage

To run all automatic scripts in this repo:

zsh -c "$(curl -sSL 'https://raw.github.com/janosh/setup/main/setup/main.sh')"

Or, if you've already cloned the repo locally, simply run:

./setup/main.sh

To customize OS settings and complete the setup, run:

zsh -c "$(curl -sSL 'https://raw.github.com/janosh/setup/main/system-settings.sh')"

Organization

The important files in this repo are:

.
└── setup
    ├── main.sh
    └── system-settings.sh

The files prefixed with numbers contain only functions. None of them will do anything if run on their own. main.sh imports all functions and runs them in sequence.

If you wish to run only parts of the setup process, source the appropriate script(s) and call the respective functions, e.g. source scripts/2_apps.sh && brew_install.

About

Ain't no place like ~. Scripts and config files to setup macOS from scratch.

Topics

Resources

License

Stars

Watchers

Forks