My macOS setup.
-
In Finder press cmd + shift + . to show hidden files then restore backup files (optional)
-
Install Homebrew
-
Clone to a suitable location (if not restored from backup):
git clone https://github.com/AlecRust/dotfiles ~/projects/personal/dotfiles
-
Run the setup script:
~/projects/personal/dotfiles/setup.sh
-
Complete manual steps
-
Modify macOS settings
- In Finder sidebar enable home directory and device name item, disable Tags and add
~/projects
to Favorites - Map ⇪ key to Ctrl at
Keyboard > Keyboard Shortcuts > Modifier Keys
- Disable "Add full stop with double-space" at
Keyboard > Text Input > Input Sources
- Enable "Show Percentage" in
Control Centre
settings - Enable "Remote Login" in
Sharing
for SSH access - Search for and add printer in "Printers & Scanners"
- In Finder sidebar enable home directory and device name item, disable Tags and add
-
Set up remote connections
- Set up GitHub connection with
gh auth login
- Import GPG keys or create with
gpg --full-generate-key
and add to GitHub - Set up Heroku connection with
heroku login
andheroku keys:add
- Set up 1Password connection with
op account add
- Copy SSH keys from each machine on local network with
ssh-copy-id
- Set up GitHub connection with
-
Set up other apps
- Import Raycast settings from Nextcloud
- Disable "Hardware Media Key Handling" at
brave://flags
- Enable "Show features for web developers" at
Safari > Settings > Advanced
- Sourcetree
- General: Disable modifying of global
.gitconfig
- General: Set terminal app to Warp
- General: Enable "Open links on GitHub.com with Sourcetree"
- Diff: Set font to Fira Code 12pt
- Diff: Set diff tool to Kaleidoscope
- Diff: Remove
Gemfile.lock
from "Ignore File Patterns" - Git: Click "Use System Git" and select
/opt/homebrew/bin/git
- Git: Enable "Use rebase instead of merge by default for tracked branches"
- Advanced: Enable "Allow force push"
- General: Disable modifying of global
- Kaleidoscope
- Set font to Fira Code 12pt
- Set terminal app to Warp
- Install Sonos S2 app
Backup these files/folders from old machine and restore on new machine: