Guide to setting up a new macbook proFri 15 December 2017
Over time my computer seems to accumulate a whole host of files, programs, and garbage. This manifests in a few ways - the most painful one being that starting new projects always puts me through a maze of dependency management and reinstallations. More recently I've begun to run out of space on the laptop, mostly data that I no longer need (music files) or that is already backed up (home movies / pictures).
Recently I went ahead and, after backing up the critical files I had, reimaged the mac os. I'd highly recommend taking this step if you find yourself mining through random problems when trying to install standard libraries, as I was. For reference, I followed this guide from Apple.
Inspired by Jeremy's post here, I thought I would provide a follow up of what was needed to get my system into shape.
1. Quick settings management
Now that we're starting fresh, a few quick changes.
- Move the dock to the right side
- Remove most of the apps that are default in the dock
- Set the bottom right corner to show the desktop
- Create a Projects folder in the user directory
- Add user directory to favorites in Finder
2. Install critical programs
My favorites from around the web listed below.
- Sublime Text
- Microsoft Office
3. Programmer's settings
Install Command Line Tools for XCode.
- Go to App Store -> Updates to do this.
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Add /usr/local/bin to path.
$ echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile
$ brew install git
Symlink sublime text so I can open it from the command line.
$ ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/sub
Install python, pip, virtualenv.
$ brew install python $ easy_install pip $ pip install virtualenv