Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janosh/macos-setup
Ain't no place like ~. Scripts and config files to setup macOS from scratch.
https://github.com/janosh/macos-setup
bash dotfiles macos shell-scripts zsh
Last synced: 28 days ago
JSON representation
Ain't no place like ~. Scripts and config files to setup macOS from scratch.
- Host: GitHub
- URL: https://github.com/janosh/macos-setup
- Owner: janosh
- License: mit
- Created: 2018-08-02T16:38:03.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-08-22T11:40:00.000Z (3 months ago)
- Last Synced: 2024-08-22T13:09:37.823Z (3 months ago)
- Topics: bash, dotfiles, macos, shell-scripts, zsh
- Language: Shell
- Homepage:
- Size: 1.69 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# macOS Setup Automation [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/janosh/macos-setup/main.svg)](https://results.pre-commit.ci/latest/github/janosh/macos-setup/main)
## 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](https://github.com/vitorgalvao/dotfiles) but quite diverged now.
## Usage
To run all automatic scripts in this repo:
```sh
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:
```sh
./setup/main.sh
```To customize OS settings and complete the setup, run:
```sh
zsh -c "$(curl -sSL 'https://raw.github.com/janosh/setup/main/system-settings.sh')"
```## Organization
The important files in this repo are:
```text
.
└── 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`.