TL;DR: For web dev things on a clean macOS install: curl -ssL https://git.io/tomdot | sh
Disclaimer: Dotfiles are personal things, and as such I advise against rolling these ones unmodified — they are specific to my setup and will need to be tweaked for yours.
I am Tom and these are my dotfiles so tomdot is how they shall be known!
On a fresh macOS system, tomdot will handle the following:
- Generate SSH auth keys for GitHub.
- Download repos from GitHub to your local machine.
- Install Node.js.
- Install N version manager.
- Install global npm packages.
- Enable Corepack (for Yarn and pnpm).
- Install Bun.
- Install Homebrew & packages.
- Install apps from the App Store.
- Change the Bat colour theme.
- Symlink config files from
~/.dotfiles
to system equivalents.
There is some preparation to be done before performing a clean install of macOS to ensure smooth sailing.
- Backup fonts to iCloud:
mv ~/Library/Fonts ~/Library/Mobile\ Documents/com~apple~CloudDocs/Fonts
. - Backup any desired app preference files to iCloud.
- Ensure all repos that you want to be cloned from GitHub are included in the
repos
array in~/.dotfiles/git/get_repos.sh
. - Ensure local
~/.dotfiles
and repos are up-to-date & pushed to GitHub. - Ensure VS Code is signed into and synced.
- Ensure Chrome is signed into and synced.
- Ensure Bitwarden (or equivalent) is signed into and synced.
- Login to icloud with a browser and ensure all backed-up fonts and preferences have actually been uploaded.
- Update the NVM install script in install.sh (line 42) to the latest version.
- Update MacOS to the latest version.
- Perform a clean install of macOS. See Apple Support articles here and here for instructions.
- Ensure you are logged into the App Store (
mas signin
has been broken for years). - Install Bitwarden manually, enable the extension in Safari and login to GitHub.
- Install Xcode CLT manually, since
xcode-select --install
doesn't work on M2 + fresh install of Sonama, for me at least. - Run
curl -ssL https://git.io/tomdot | sh
in the terminal and buckle up!
- Enable Desktop & Documents Folders in Apple menu  > System Settings > iCloud > iCloud Drive.
- Install fonts backed-up to iCloud.
- Run
cw
in Kitty to setup AWS CodeWhisperer. - Launch Raycast & setup.
- Install apps unavailable via Homebrew / App Store (IdeaShare).
- Login to Chrome & enable sync.
- Add SSH public key to Azure DevOps.
- Install Android studio Emulator.
- Restart computer.
AWS CodeWhisperer (acquired from Fig) seems to fulfil all previous zsh plugin needs.
If additional plugins are required, use Antidote.
The tomdot repo was assembled with many thanks to these smart folks:
Consider GNU Stow or Ansible over manual symlinks.