Skip to content

Instantly share code, notes, and snippets.

@outofambit
Created September 18, 2018 00:57
Show Gist options
  • Save outofambit/5431f392f88ec29c641f7705a1e7ae05 to your computer and use it in GitHub Desktop.
Save outofambit/5431f392f88ec29c641f7705a1e7ae05 to your computer and use it in GitHub Desktop.
GitHub Desktop: Setting Up Development Dependencies on macOS

Setting Up Development Dependencies on macOS

You will need to install these tools on your machine:

  • Node.js v8.11.4
  • Python 2.7
  • Xcode and Xcode Command Line Tools (Xcode -> Preferences -> Downloads)

Node.js

There are two approaches to installing Node.js, manual and managed. If you're not sure which route to go, we recommend the managed route, but do whatever makes the most sense for your development process!

Managed

We recommend using nvm to manage your Node.js version. This makes it easier to know you are running the correct version of node for this project without affecting setup for other projects on your machine.

Suitable alternatives include (but aren't limited to) n and asdf-nodejs.

Manual

Python

macOS comes with Python pre-installed, and it happens to be the right version, so you're probably fine! But if you use other versions of Python, here's how to get started.

Managed

For this, we recommend pyenv. (It's the only game in town.)

Manual

Xcode Command Line Tools

  • Just run xcode-select --install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment