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)
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!
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.
- Install nvm from https://github.com/creationix/nvm#install-script
- At the top level of this repo:
- Install the version of Node.js for GitHub Desktop with
nvm install 8.11.4
- Use that version with
nvm use 8.11.4
- Install the version of Node.js for GitHub Desktop with
- You're good to go!
Suitable alternatives include (but aren't limited to) n and asdf-nodejs.
- Install manually from https://nodejs.org/en/download/
- You're good to go!
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.
For this, we recommend pyenv. (It's the only game in town.)
- Install pyenv according to https://github.com/pyenv/pyenv-installer#github-way-recommended
- At the top level of this repo:
- Install the version of Python for GitHub Desktop with
pyenv install 2.7
- Install the version of Python for GitHub Desktop with
- You're good to go!
- Install manually from https://www.python.org/downloads/
- You're good to go!
- Just run
xcode-select --install