• 8 mins
My Macbook Air was acting up and I decided I had enough and proceeded to do a fresh install. This will be a step-by-step walkthrough on how I set up a new Mac. I plan to write up a nicer version to store on Github. Don’t forget most of these will be a matter of personal preference.
- Install updates. Best to do this first as there may be critical security patches waiting to be installed. And the fact that the notification number on the AppStore icon will bother me for eternity.
- Hide the dock. Because I need the screen real estate!
- Change scroll direction.
System Preferences -> Trackpad -> uncheck Scroll direction: Natural. Because it’s not natural at all, especially if you’ve been using Macs (or even PCs) for a decade.
- Organize the dock. Let’s get rid of the following apps that I don’t use:
- iTunes (it’ll open on it’s own if I really need it!)
- Maps (does anyone actually use this?)
I’ll come back to this later once I have all my apps installed.
- Right click on the Dock and click on
Dock Preferences. I turn the size down just a bit and turn on magnification to be slightly larger. It helps distinguish which app my mouse cursor is over.
- Install Xcode from the Mac AppStore and then download the Xcode Command Line Tools. I develop web and iOS applications so this is essential. I like to let it download in the background while I set up everything else.
- Turn off notifications by scheduling 24/7 Do Not Disturb mode. I don’t need more distractions.
System Preferences -> Do Not Disturb, I set mine from 3:00AM to 2:59AM.
- Also turn off notifications in apps that I don’t use or want notifications from - Photos, Safri, Games. Set Calendar to only show notifications on the lock screen and turn off Badge app icon for FaceTime.
- I don’t use the sidebar so I’m going to remove the default apps.
- I use
cmd+shift+ffor searching Spotlight, so I will set that now.
System Preferences -> Keyboard -> Shortcuts -> Spotlight.
- I just found out System Preferences are supposed to sync via iCloud so let’s get that set up.
I hate the simplified Finder. Let’s start fixing that.
Finder -> View -> Show Path Barand
Finder -> View -> Show Status Bar
- Next, get rid of the useless All My Files.
- Now let’s find the hard drive. Luckily I have another Mac on my network so I can open
Show in Enclosing Folderto get to the folder. Otherwise, I’d probably have to use Finder’s “Go To” menu option.
My sidebar now looks like this:
- Macintosh HD
- iCloud Drive
- Next add the
Macintosh HDto the sidebar, under Applications.
- Open up
Macintosh HD -> Usersand add my user’s home directory to the sidebar, between Desktop and Applications. Quick note. I don’t think iCloud properly synced my System Preferences, at least not yet. I’ll have to set up the keyboard shortcuts and what not later.
- Meanwhile, let’s download Google Chrome.
- Actually let’s set up Hot Corners first. Note: 227.8GB free right now. Xcode 9.2 is roughly 5.1GB and I had to download from the Apple Developer’s website since the newest version on the MacAppStore (9.3.1) isn’t supported on Sierra. Still too scared to update to High Sierra though.
- I normally use HyperDock for windows management but since I already bought it, I’m going to try and use Magnet exclusively. I don’t like how it’s a menu bar item though. One feature it seems to be missing is scrolling at the top to toggle between the current and last window sizes, and filling the screen (essentially becoming fullscreen without using that dreaded green icon in the corner).
- I’m emptying the trash a lot since I’m trying to keep things nice and organized clicking yes to that warning is getting annoying. Let’s disable it in the Finder’s advanced settings.
- Let’s start downloading all the apps I use. I will download the essentials first and reconsider others later.
- Backblaze - for cloud backup
- Bartender - because I like a nice and clean menu bar
- DaisyDisk - because it’s 2018 and I still only have 256 GB, granted it’s a SSD but still
- Dropbox - see ^
- Focus - because it’s hard to focus sometimes with so many distractions
- itsy calendar - replacing the default date & time in the menu bar with something more useful
- Jumpcut - last update was almost a decade ago (2009) but it still works
- licecap - for recording gifs, great for demoing projects
- Pixelmator - basic image editing
- RescueTime - because the Internet is an endless pit and I want to be aware of where my time is going
- Sketch - vector-based program similar to Adobe Illustrator, great wireframing
- Slack - because everyone is obsessed with it
- Soulver - it’s a calculator + notepad and it’s awesome!
- Sublime Text - my preferred text editor
- Synergy - 2 macs, 1 mouse + keyboard.
- VLC - for all my media playback. so versatile!
- Set up Dropbox and Backblaze. I am paying for Dropbox Professional exclusively for the Smart Sync feature (I was previous paying for 1TB of storage). Dropbox will take a few days and a lot of CPU but at least now I can go on to the next step.
- Set up Hot Corners:
- Top left: Application Windows
- Top right: Desktop
- Bottom left: Dashboard
- Bottom right: Mission Control
- Set up keyboard shortcuts
- Google Chrome - Task Manger:
⌘ + esc
- Preview - Adjust Size…:
- Notepad - Font…:
- Google Chrome - Task Manger:
- Install two more apps
- OneNote - since Evernote got greedy and started charging PER device, not to mention it’s a resource hog.
- Evernote - despite the above, I still have at least 5 years worth of notes in here.
- Set up Chrome. Because I use Gmail and all the other Google services it now comes with, I just have to sign in and wait for everything to sync. Yes, that means the mess that is my Chrome set up (bookmarks & extensions) is coming to my fresh Mac install. Sad but true (and also necessary).
- Set up Terminal. I use the default app because it works. I just like to change the background color to something more Matrix/Hollywood like - aka the homebrew theme.
Now for the fun part - setting up the dev environment!
But first, I’m going to make a DMG backup of this setup so I don’t have to do it again in the near future. Of course, in a couple years it’ll all be irrelevant as macOS will probably have changed significantly by then, along with my workflow and the apps I use. But worst case scenario, it’s a good starting point.
Create a custom Sublime Text command to use in Terminal
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/
Official instructions here
- Customize Sublime Text. I have my settings back up to Github using git version control, so it’s simple as setting up the repo locally.
- Install Homebrew - a package installer for macOS. Must have for developers. Macports is a pouplar alternative.
- Set up Python*:
export PATH=/usr/local/bin:/usr/local/sbin:$PATHto your bash profile.
- Then install Python 3 using Homebrew,
brew install python
- Update Ruby. Until I need multiple Ruby versions, I will just use Homebrew to install the latest one. Then, following the instructions here, I can update my bash profile to point to the new directory: https://stackoverflow.com/questions/38194032/how-to-update-ruby-version-2-0-0-to-the-latest-version-in-mac-osx-yosemite
- Install node.js using Homebrew or the provided installer on the website. Note that Homebrew installed the Latest Version by default while the installer provides both LTS and Latest Version options.
- Install the JDK from the website. As of this writing, it’s version 1.8.x for Java 8.
- I think that’s it! At the end I ran the following to double check the version numbers:
python --version ruby --version java -version
I got the following values:
Python 3.6.3 ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin16] java version "1.8.0_151" Java(TM) SE Runtime Environment (build 1.8.0_151-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
I went back and set up a few more things like keyboard input, Bartender, installing and setting up a few other apps, and other small things that came up. Now just waiting for Dropbox and OneDrive to sync!
*Originally I followed the steps below but since I used
virtualenv before, I will stick to it for now. Note there is a pyenv wrapper for
virtualenv but I found it unnecessary as I don’t actually use
brew install pyenv
pyenv install --listto see which versions are available for install
- install the latest version of Python 3
- set Python 3 to be the default global version (helpful blogpost)
- install pyenv-virtualenv using Homebrew:
brew install pyenv-virtualenv
- Helpful blog post part 1
- Helpful blog post part 2