- Change two references to "Brian Haan" and "brianchaan@gmail.com" to your own name and email
.gitconfig.npmrc
- Browse through each dotfile and update to your preference, especially .osx for system preferences.
- Add or remove folders you want in folders.sh.
- Add or remove packages you use in brewfile.sh.
- Add or remove applications you use in caskfile.sh.
- Replace references to LastPass with whatever password manager you use.
- Update the drive.sh file with any files you want to include from your Google Drive, if any, otherwise ignore.
- Apple ID set up
- Google account set up and synched to Chrome and Google Drive
- LastPass or other password manager, especially with Chrome extension
- Github account with credentials stored on Google Drive
- VSCode settings configured with Settings Sync connected to Github
- AWS account with credentials stored on Google Drive
- SSH RSA keys generated and stored on Google Drive
- Before beginning, install any system or OS updates through the App Store.
- Cmd+Space to open Spotlight, type brew.sh, and open in Safari.
- Copy the bash command from the Homebrew website.
- Cmd+Space and type Terminal to open the default Terminal.
- Paste the command. This will install both Homebrew and the Xcode command line tools.
- While this command runs, follow the Configure OS steps in Manual Actions below.
- In the Terminal, run
git clone https://github.com/brianchaan/dotfiles ~/dotfilesto clone this repository. - Run
source ~/dotfiles/start.sh. This performs the following:- Symlinks each dotfile to the home directory
- Sets up directories (folders.sh)
- Installs git and bash (brewinit.sh)
- Updates the default shell to bash
- Open two terminal windows.
- In the first, run
source ~/dotfiles/one.sh. This uses brew to install programs. - In the second, run
source ~/dotfiles/two.sh. This uses brew cask to install applications. - As each application is installed, it will open automatically to configure. Check Configure Applications in Manual Actions below for specific steps to follow.
- In the first, run
- If you have Google Drive set up with your credentials or other files, run
source ~/dotfiles/drive.sh.- Make sure your Google Drive files are synched before running this command.
- Run
source ~/dotfiles/finish.sh. This performs the following:- Installs node (npm.sh)
- Configures Mac OS preferences (.osx)
- Restart computer to apply OS Preferences.
- Open LastPass.com and log in to have passwords available
- Log in to Apple ID
- Open and configure App Store, Messages, FaceTime
- Download and install apps on your account
- Add Internet Accounts
- Open System Preferences > Internet Accounts
- Add each account
- Open and configure Calendar
- Start week on Monday
- Day starts at 7:00 AM
- Day ends at 9:00 PM
- Show 14 hours at a time
- Default calendar: Google General
- Turn off all alerts
- Configure any external hardware (mouse, keyboard, monitor)
- System Preferences that are difficult to set through terminal commands
- Security & Privacy > General
- Require password immediately after sleep or screen saver begins
- Battery
- Battery > Turn display off after: 30 minutes
- Power Adapter > Turn display off after: 1 hour
- Notifications > Do Not Disturb > Turn on Do Not Disturb:
- Check > From: 10PM to 7AM
- Check > When the display is sleeping
- Check > When the screen is locked
- Check > When mirroring to TVs and projectors
- Users & Groups
- Edit profile picture
- Finder Preferences (not System Preferences)
- Open Preferences and delete all tags
- Security & Privacy > General
- Configure gpg to sign git commits
- Follow the instructions line-by-line in gpg.sh
As each application opens,
- Apply any Privacy settings asked for
- Log in
- iTerm2
- Open iTerm2
- Press Cmd+, to open Preferences
- Go to General tab > Preferences
- Check box Load preferences from custom folder or URL
- Select
/Users/<username>/Themes - Completely close (Cmd+q) and re-open iTerm2
- Chrome
- Configure as default browser
- Log in
- Enable sync
- Sign in to LastPass extension
- VSCode
- Cmd+Shift+P > Settings Sync: Turn on
- Adobe Creative Cloud
- Log in
- Download applications
- Better Touch Tool
- Allow Privacy settings
- Load license file from Drive/Credentials
- Downgrade to previous version to use current license
- Preferences > Basic Settings > Launch BetterTouchTool on startup
- Finder
- Add bookmarks: root, home, img, pdf, screenshots, Applications, Desktop, Downloads
- Generate a pair of authentication keys:
ssh-keygen -t rsa - Do not enter a passphrase and use all the defaults.
- Append the contents of id_rsa.pub to the file ~/.ssh/authorized_keys on any server you need access to.
- In your ~/.ssh/config file, for each host add an IdentityFile parameter:
Host <host>
Hostname <hostname>
User <user>
IdentityFile ~/.ssh/id_rsa