|
1 | 1 | # Setup |
2 | 2 |
|
3 | | -## 1. Install node.js and npm |
| 3 | +## OSX Setup |
4 | 4 |
|
5 | | -For Mac and Windows, get the installer from [nodejs.org][node-download] |
6 | | -and install it. That will get you `node` and `npm`. |
| 5 | +### 1. Install XCode |
7 | 6 |
|
8 | | -For Linux distributions, check [this article][install-linux] on how to install |
9 | | -a current version of node.js. (Note: the article is also linked from |
10 | | -[node's wiki page][node-wiki-install].) |
| 7 | +You can easily [install XCode from the App Store](https://itunes.apple.com/us/app/xcode/id497799835?mt=12). |
| 8 | + |
| 9 | +### 2. Install Homebrew |
| 10 | + |
| 11 | +[Homebrew](http://brew.sh/) is a package manager for OSX. You can install it simply by pasting the below into your terminal: |
| 12 | + |
| 13 | +``` |
| 14 | +ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
| 15 | +``` |
11 | 16 |
|
12 | | -## 2. Setup git and GitHub |
| 17 | +### 3. Install python, node.js, and npm |
| 18 | + |
| 19 | +Python may be required for working with some projects. Installing node.js will provide you with the `node` and `npm` commands. |
| 20 | + |
| 21 | +``` |
| 22 | +brew install python nodejs; |
| 23 | +sudo easy_install pip; |
| 24 | +pip install pyobjc; |
| 25 | +npm install -g node-gyp; |
| 26 | +``` |
| 27 | + |
| 28 | +## 4. Setup git and GitHub |
13 | 29 |
|
14 | 30 | See [Setting up Git][git-setup] |
15 | 31 | on GitHub's website for instructions to get started with git and GitHub. |
16 | 32 |
|
| 33 | +## 5. Join gitter channel |
| 34 | + |
| 35 | +We're hanging out on [gitter.im][gitter-monogodb-js], join the channel to stay |
| 36 | +up to date or ask questions. |
| 37 | + |
| 38 | +## Windows Setup |
| 39 | + |
| 40 | +## 1. Install Visual Studio 2013 or higher |
| 41 | + |
| 42 | +You can download the [community edition for free](http://www.visualstudio.com/products/visual-studio-community-vs). |
| 43 | + |
| 44 | +## 2. Install Python |
| 45 | + |
| 46 | +Python may be required for working with some projects so just [download and run the installer](http://www.python.org/download/releases/2.7/). |
| 47 | + |
| 48 | +## 3. Install node.js |
| 49 | + |
| 50 | +[Download and run the installer][node-download] to get `node` and `npm`. |
17 | 51 |
|
18 | | -## 3. Join gitter channel |
| 52 | +## 4. Setup git and GitHub |
| 53 | + |
| 54 | +See [Setting up Git][git-setup] |
| 55 | +on GitHub's website for instructions to get started with git and GitHub. |
| 56 | + |
| 57 | +## 5. Join gitter channel |
19 | 58 |
|
20 | 59 | We're hanging out on [gitter.im][gitter-monogodb-js], join the channel to stay |
21 | 60 | up to date or ask questions. |
22 | 61 |
|
| 62 | +## Linux Setup |
| 63 | + |
| 64 | +## 1. Install dependencies |
| 65 | + |
| 66 | +``` |
| 67 | +sudo apt-get install build-essential clang libdbus-1-dev libgtk2.0-dev \ |
| 68 | + libnotify-dev libgnome-keyring-dev libgconf2-dev \ |
| 69 | + libasound2-dev libcap-dev libcups2-dev libxtst-dev \ |
| 70 | + libxss1 gcc-multilib g++-multilib |
| 71 | +``` |
| 72 | + |
| 73 | +## 2. Install node.js and npm |
| 74 | + |
| 75 | +Check [this article][install-linux] on how to install |
| 76 | +a current version of node.js. (Note: the article is also linked from |
| 77 | +[node's wiki page][node-wiki-install].) |
| 78 | + |
| 79 | +## 3. Setup git and GitHub |
| 80 | + |
| 81 | +See [Setting up Git][git-setup] |
| 82 | +on GitHub's website for instructions to get started with git and GitHub. |
| 83 | + |
| 84 | +## 4. Join gitter channel |
| 85 | + |
| 86 | +We're hanging out on [gitter.im][gitter-monogodb-js], join the channel to stay |
| 87 | +up to date or ask questions. |
23 | 88 |
|
24 | 89 | [install-linux]: https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories |
25 | 90 | [node-download]: https://nodejs.org/download/ |
|
0 commit comments