> For the complete documentation index, see [llms.txt](https://nateskicks13.gitbook.io/bird-bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nateskicks13.gitbook.io/bird-bot/installation/mac.md).

# Mac

## 1. Download Git

To download Git, use the installer from [here](https://sourceforge.net/projects/git-osx-installer/). It should download as a dmg file.

{% hint style="info" %}
You can also watch a tutorial video [here](https://www.youtube.com/watch?v=sJ4zr0a4GAs)
{% endhint %}

![](/files/-M4taAixuM-LyGQGFcHZ)

Open the dmg and you will see a .pkg file. Double click it.&#x20;

![](/files/-M4tbDmC43qFLSkDozlH)

{% hint style="danger" %}
If you get a "cannot be opened because it is from an unidentified developer" message when trying to run the .pkg file, go to system preferences -> security and privacy -> and then click "open anyway" at the bottom. If you get stuck, watch a tutorial video [here](https://www.youtube.com/watch?v=yJoSrBe7Tpg).
{% endhint %}

You will then see an installer pop up. Navigate through the steps until it has finished downloading.

![](/files/-M4tbT54Y2g7j2VLAm6x)

## 2. Download Python&#x20;

To download Python, use the installer from [here](https://www.python.org/ftp/python/3.8.2/python-3.8.2-macosx10.9.pkg). It should download as a .pkg file. Double click it and you will then see an installer pop up. Navigate through the steps until it has finished downloading.

{% hint style="info" %}
You can also watch a tutorial video [here](https://www.youtube.com/watch?v=TgA4ObrowRg)
{% endhint %}

![](/files/-M4tcOGNJVPcSN7FJ8IY)

## 3. Download the bot

To start, open a new terminal window. If you don't know how to open terminal, you can find it by going to search on your mac and typing in "terminal"

![](/files/-M4tdK_bEQ9d3TAhMYgp)

Then, type in the following

```bash
cd desktop
```

```bash
git clone https://github.com/natewong1313/bird-bot
```

```bash
cd bird-bot
```

![](/files/-M4ttoLytzBHyy10Ozi0)

After that, you will need to install the Python modules that help power the bot. To do this, type in the following

```bash
sudo pip3 install -r requirements.txt
```

It may prompt you to enter in your password. Type it and hit enter.

## 4. Run the bot

To run the bot, simply type&#x20;

```bash
python3 app.py
```

After that, the bot should open up.&#x20;

If you want to run the bot again, simply run that same command again in the same terminal window. **If you exit out of the terminal window and want to run the bot again, open up a new terminal window and run these commands**

```bash
cd desktop/bird-bot
```

```bash
python3 app.py
```
