This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
This is my current build process for installing macOS and applications as well as hardening. Currently it is a process of first re-installing macOS and then running the post-install macOS setup script macOSSetup.sh.
This is definitley a work in progress and will be updated as it evolves.
Note: There have been reports that M1 Macs have had issues after wiping the Hard Drive. It is highly recommended that you create a USB bootable installer.
Reference: How to create a bootable installer for macOS
- Create a bootable installer for macOS by following the instructions in the aforementioned reference link.
Reference: Use macOS Recovery on an Apple Silicon Mac
Internet Recovery has been removed. To boot into Recovery mode follow the below procedure.
Ensure the macOS USB installer is inserted into your Mac.
- If powered on shut it down.
- Power on the Mac, but hold the power button until “Loading startup options” appears.
- When presented with your Hard Drive (typically Macintosh HD), Install macOS (Version), or Options, select "Install macOS (Version)" and "Continue."
- Select a user with Administrator access and authenticate and select "Next." Authenticate when prompted.
- Optionally (and preferred), if you are not able to authenticate with a known admin user account or you want to compltely wipe your mac, you can select "Erase Mac..." from the top left menu under Recovery Assistant.
- From the Recovery menu select Disk Utility.
- Select the internal disk labeled Macintosh HD. If there's an option title Erase Volume Group, check the box.
- Select Erase and select "Erase Mac..." when prompted from the dialog.
- Finally select Erase Mac and Restart.
- After the Mac reboots select your preferred language on the Language screen.
- If not automatically activated activate your Mac with your Apple ID. If you do not have an Apple ID one can be created with the following direct link.
- Exit to Recovery.
- Select Reinstall macOS
Current Version
. - Reinstall the OS.
Open a terminal
- On a clean install of macOS, Spotlight is the easiest way to open terminal. Press Command (or Cmd) ⌘ + Space Bar. When presnted with a dialig start to type Terminal and when presented with a match press Enter.
The Following Apps I Install manually by package or the App Store. You can install many of them by Homebrew, but it's a personal preference.
Chrome
VScode
Microsoft Remote Desktop
1Password
Floorp
VLC Player
Acrobat Reader
VNC Viewer
Draw.io
rectangle
Manually Installed with Homebrew
-
brew install --cask google-cloud-sdk source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc" source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc"
-
Vagrant brew install hashicorp/tap/hashicorp-vagrant brew install vagrant-vmware-utility
ASDF Plugins and Packages asdf plugin-add terraform https://github.com/asdf-community/asdf-hashicorp.git asdf plugin-add packer https://github.com/asdf-community/asdf-hashicorp.git asdf global terraform latest asdf global packer latest