github-desktop/docs/contributing/mac-deps-setup.md

42 lines
1.1 KiB
Markdown
Raw Normal View History

2018-09-10 20:22:57 +00:00
# macOS System Dependencies
2018-09-03 18:28:44 +00:00
2018-09-13 14:42:45 +00:00
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)
2018-09-10 20:22:57 +00:00
## Node.js
2018-09-03 18:28:44 +00:00
2018-09-10 20:22:57 +00:00
There are two approaches to installing Node.js, **manual** and **managed**. We recommend the managed route, but the simple method will work fine if you don't have node installed on your machine and just want to get running!
2018-09-03 18:28:44 +00:00
2018-09-10 20:22:57 +00:00
### Managed
2018-09-03 18:28:44 +00:00
2018-09-12 21:44:45 +00:00
A few Node.js version managers you can use:
2018-09-03 18:28:44 +00:00
2018-09-12 21:44:45 +00:00
- [nvm](https://github.com/creationix/nvm)
- [n](https://github.com/tj/n)
- [asdf-nodejs](https://github.com/asdf-vm/asdf-nodejs)
2018-09-03 18:28:44 +00:00
### Manual
- Install manually from https://nodejs.org/en/download/
2018-09-04 03:50:52 +00:00
- You're good to go!
2018-09-04 00:53:54 +00:00
## Python
2018-09-10 20:22:57 +00:00
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.
2018-09-04 00:53:54 +00:00
2018-09-10 20:22:57 +00:00
### Managed
2018-09-04 00:53:54 +00:00
2018-09-12 21:44:45 +00:00
It seems the only game in town is [pyenv](https://github.com/pyenv/pyenv).
2018-09-04 00:53:54 +00:00
### Manual
2018-09-04 03:50:52 +00:00
- Install manually from https://www.python.org/downloads/
- You're good to go!
2018-09-10 20:22:57 +00:00
## Xcode Command Line Tools
2018-09-04 03:50:52 +00:00
- Just run `xcode-select --install`