Setup scripts for my Macs and Linux laptops
Start with a working OS, internet access, Git, and sudo access. Run setup as your regular user. These scripts apply my personal settings.
On a fresh Mac, install the Command Line Tools first:
xcode-select --installClone the repository, or use your existing checkout:
git clone https://github.com/tombell/laptop.git ~/.laptop
cd ~/.laptop| Machine | Command |
|---|---|
Personal Mac (Pyra) |
./setup macos pyra |
Mac mini (Brighid) |
./setup macos brighid |
ThinkPad (thinkpad) |
./setup arch os thinkpad |
MacBook Air (T2) (mythra) |
./setup arch os macbook |
Raspberry Pi (rpi) |
./setup debian rpi |
On either Arch laptop, finish with user setup before rebooting:
./setup arch userHave your 1Password account ready for SSH key setup on macOS and Arch. Follow the prompts, then start a new login session when setup finishes.
On macOS, setup sets the computer name and installs Xcode from the App Store. If you are not signed in to the App Store, setup warns and continues; sign in and run sudo mas get 497799835 later.
To reapply your Arch user settings later, run ./setup arch user again. Run ./setup --help to see all setup commands.