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

# Windows

{% hint style="info" %}
This is for Windows only.
{% endhint %}

## 1.) Download Git

To download Git, use the installer from [here](https://git-scm.com/download/win). It should download as a exe file.

Open the exe and you should see an installer.

<figure><img src="https://518476742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeZ7jGNtd03MVLYh6CtZG%2Fuploads%2FUUQ1Ek4yNRZSyDseECVV%2Fimage.png?alt=media&amp;token=b959e7fc-49f6-4543-8a41-b028fe8d0e4d" alt=""><figcaption></figcaption></figure>

Once you get to this step, you can exit out the installer.

## 2.) Download Python

To download Python, use the installer from [here](https://www.python.org/ftp/python/3.8.2/python-3.8.2-amd64.exe). It should download as a .exe file.&#x20;

Before running it, **PLEASE DO THE FOLLOWING**

Find where the installer is located and right click on it. Select "run as administrator"

Before clicking "Install Now" make sure that "Add Python 3.8 to PATH" is selected

<figure><img src="https://518476742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeZ7jGNtd03MVLYh6CtZG%2Fuploads%2Fj1xUXHYXhu7pbNe2h1xX%2Fimage.png?alt=media&amp;token=97a0a685-a6b2-4bea-8635-a9c5a8e9c02f" alt=""><figcaption></figcaption></figure>

## 3.) Download the bot

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

<figure><img src="https://518476742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeZ7jGNtd03MVLYh6CtZG%2Fuploads%2FmdVM6ggPUkfxzFgIp1vR%2Fimage.png?alt=media&amp;token=7ff019c4-57b4-4ee1-a234-006c12fa640a" alt=""><figcaption></figcaption></figure>

Then, type in the following

```bash
cd desktop
```

```bash
git clone https://github.com/pihelper/pi-bot-master
```

```bash
cd bird-bot
```

<figure><img src="https://518476742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeZ7jGNtd03MVLYh6CtZG%2Fuploads%2FZ2G4h5An7Wm1ORxnGptH%2Fimage.png?alt=media&amp;token=225f5695-1918-486a-9d0e-57b9fdbd9cc6" alt=""><figcaption></figcaption></figure>

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

```bash
pip install -r requirements.txt --user
```

## 4. Run the bot

To run the bot, simply type

```bash
python 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 cmd window. **If you exit out of the cmd window and want to run the bot again, open up a new cmd window and run these commands**

```bash
cd desktop/pi-bot-master
```

```bash
python app.py
```
