Set up a development environment on a Mac

How can you get going as quickly as possible?

Image for post
Image for post

Prerequisites:

  • Some knowledge of the mac

Terminology

Homebrew: A package manager for the Mac

Background

You might be starting a new job. You might have a new Mac. For whatever reason you need to set up your Mac to be ready to develop as quickly as possible. This guide will help you.

Getting Xcode

You can either get Xcode from https://developer.apple.com/xcode/ or use the terminal:

Set up Homebrew

You can amend your PATH to allow the homebrew tools to take precedence over other installed versions.

Set up finder

Drag Macintosh HD into locations so it is always avaliable

Getting Slack

You can either get slack from

Xcode command line tools

Command line tools (if not already installed)

Update Git

If you want to install the updated version (not the one included with command line tools.

Config Git

Install Visual Studio Code

Install Sublimetext

Create SSH Keys

We create a SSH directory

Set up Java with Homebrew

We (of course) will need an up to date install of the Java JDK.

Install LibreOffice

Install iTerm2

Install Chrome

Install Postman

Install SourceTree

Install Gimp

Remove App Store applications

Run updates from the App store

  • /Library/Application Support/GarageBand/
  • /Library/Audio/Apple Loops/Apple/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store