https://github.com/smitelli/macos-setup
I have erased this MacBook four times today and it's not even lunchtime.
https://github.com/smitelli/macos-setup
macos provisioning
Last synced: 4 months ago
JSON representation
I have erased this MacBook four times today and it's not even lunchtime.
- Host: GitHub
- URL: https://github.com/smitelli/macos-setup
- Owner: smitelli
- Created: 2022-09-17T22:19:03.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2026-01-16T01:07:01.000Z (5 months ago)
- Last Synced: 2026-01-16T11:13:26.659Z (5 months ago)
- Topics: macos, provisioning
- Language: Shell
- Homepage:
- Size: 4.07 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# macOS-Setup
by [Scott Smitelli](mailto:scott@smitelli.com)
```bash
export SET_HOSTNAME=macbeth
bash -c "$(curl -fsSL https://raw.githubusercontent.com/smitelli/macOS-Setup/HEAD/setup.sh)"
```
## Environment Variables
* `SET_HOSTNAME`: Defaults to the current hostname. Used to name the system on the network, and used as the base label name for the root disk.
* `CAPITALIZE_DISK`: Default `true` if the existing root disk name looks to be capitalized already, otherwise `false`. If true, the first letter of the hostname is capitalized for use as the disk's label name. Otherwise the hostname is used unchanged.
* `INCLUDE_SOFTWARE_UPDATE`: Defaults to `true`. If true, run Software Update during installation. You might want to disable this if the update list includes a major macOS update that could interfere with setup.
* `INCLUDE_WORKTOOLS`: Defaults to `false`. If true, installs work tools as well.
## License
MIT, except for the stuff under the `data/` directory.