Thoughtbot's Ruby guide to Mac OSX development inspired me to create my own script to install and update the tools I use for development and general use. This also serves as documenting what I installed and more importantly how since I'm using the same commands I ran but now in reusable shell scripts.
- Set Terminal with Full Disk Access temporarily
xcode-select --installfor command line tools (FAQ)- Create a temporary GitHub PAT and use when prompted
git clone https://[email protected]/javierjulio/laptop.git ~/Projects/laptop- Import Terminal Themes, set one as the default and then restart Terminal
cd ~/Projects/laptop && ./laptop- Open Keychain Access and delete matching GitHub PAT login item
- Running
git pushshould prompt for login using Git Credential Manager - Enable Settings Sync in Visual Studio Code using GitHub login
brew doctorto verify setup
Open a Command Prompt as administrator and run the following to install apps:
winget install --id=Valve.Steam -e && winget install --id=Google.Chrome -e && winget install --id=AgileBits.1Password -e && winget install --id=EpicGames.EpicGamesLauncher -e && winget install --id=Amazon.Games -e && winget install --id=Ubisoft.Connect -e && winget install --id=ElectronicArts.EADesktop -e && winget install --id=Blizzard.BattleNet -e && winget install --id=WeMod.WeMod -e && winget install --id=ItchIo.Itch -e && winget install --id=GOG.Galaxy -e && winget install --id=Google.PlayGames.Beta -e && winget install --id=JetBrains.dotPeek -e && winget install --id=PPSSPPTeam.PPSSPP -e && winget install --id=PCSX2Team.PCSX2 -e && winget install --id=Libretro.RetroArch -e
Run tests: bats -r test
For more info on setting macOS defaults programmatically: https://lapcatsoftware.com/articles/containers.html
On using defaults macOS CLI: https://pawelgrzybek.com/change-macos-user-preferences-via-command-line/
- https://github.com/jamesdh/dotfiles/blob/master/bootstrap.sh
- https://github.com/gibfahn/dot/blob/main/helpers/setup.sh
- https://github.com/rkalis/dotfiles
- https://github.com/paveg/dotfiles
- https://github.com/ascarter/dotfiles
- https://github.com/mathiasbynens/dotfiles
- https://github.com/janmoesen/tilde
- https://github.com/gerhard/setup
- https://github.com/nordtheme/terminal-app
- https://github.com/lysyi3m/osx-terminal-themes
- https://draculatheme.com/terminal/
- https://support.apple.com/en-us/HT208050
- https://scriptingosx.com/2019/06/moving-to-zsh/
- For git completion with
galias: - For bash completion: eddiezane/lunchy#57 (comment)