Skip to content

Instantly share code, notes, and snippets.

@JingleChannel
Forked from zenorocha/.hyper.js
Created September 5, 2017 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JingleChannel/f7a2310fda5f809a4cecff6d087bc019 to your computer and use it in GitHub Desktop.
Save JingleChannel/f7a2310fda5f809a4cecff6d087bc019 to your computer and use it in GitHub Desktop.
Setup macOS Sierra (10.12)

Setup macOS

I'm in a hospital in Spain and my MacBook was stolen.

Hospital Commit

Now I bought a new one and need to configure it. I have an AirPort Time Capsule that backs up everything using Time Machine, but I don't want all the crap I had in the old one. So let's get our hands dirty!

1. Update OS to latest version

Make sure everything is up to date.

Software Update

2. Install Xcode and its "Command Line Tools"

  1. Go to App Store and install Xcode.
  2. Open and accept the terms
  3. Then go to the terminal and install "Command Line Tools":
xcode-select --install

Notice this only works for Mac OS X Mavericks (10.9) and above. For earlier versions, continue to use the in-app download in Xcode.

3. Install Dotfiles

Visit my Dotfiles repo for instructions.

This will install some useful stuff like zsh shell and lots of plugins using oh-my-zsh. Besides that, it will also set a new theme and some useful aliases for the terminal.

4. Install Softwares

Many softwares can be installed through homebrew-cask which makes the process way simpler:

curl -L https://gist.githubusercontent.com/zenorocha/7159780/raw/5b7eb6d32800c974a2c8f0afc6cadfbf5078f239/softwares.sh | sh

What's included?

Browsers
Coding
Essential
For fun
Other
App Store

Unfortunately some apps aren't available through homebrew-cask, so you need to install it manually.

5. Generate SSH keys for GitHub

Visit GitHub's official guide for instructions.

From that point on you're going to be able to do some git operations with GitHub \o/

6. Set Chrome Canary as default browser

  1. Launch System Preferences
  2. General ➜ Default Web Browser
  3. Select “Chrome Canary” from the drop-down menu

7. Configure Sublime Text

Visit my Sublime Text preferences repo for instructions.

There you can find the whole list of plugins, preferences and snippets.

8. Install Alfred Workflows

Visit my Alfred workflow collection repo for instructions.

9. Set NPM user

npm adduser zenorocha

10. Profit!

:)

#!/bin/sh
# homebrew-cask
brew tap caskroom/cask
brew tap caskroom/versions
# browsers
brew cask install google-chrome
brew cask install google-chrome-canary
brew cask install firefox
brew cask install firefox-beta
brew cask install safari-technology-preview
# coding
brew cask install kaleidoscope
brew cask install iterm
brew cask install mou
brew cask install parallels-desktop
brew cask install paw
brew cask install sourcetree
brew cask install sublime-text
# essential
brew cask install 1password
brew cask install adobe-photoshop-cs6
brew cask install alfred
brew cask install dropbox
brew cask install evernote
brew cask install licecap
# for fun
brew cask install spotify
brew cask install vlc
brew cask install webtorrent
# other
brew cask install bartender
brew cask install istat-menus
brew cask install screenflow
brew cask install skype
brew cask install slack
brew cask install the-unarchiver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment