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

# Self Installation

How to install Nyano Bot if you are self hosting!

## STEP 1 - Download

* Download the open source zip files using the green "Code" button on our [GitHub](https://github.com/BrazyDevelopment/nyanobot).

{% hint style="success" %}
**We use the green "Code" button instead of latest release because we are pushing micro updates all the time without the need to push a full release.**
{% endhint %}

***

## **STEP 2 - Dependencies**

* Ensure you have installed all of the required dependencies. This bot runs on [**Node JS**](https://nodejs.org/en/download).
* You do not need to build the project, this has already been done.

<figure><img src="https://3927848002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fko0llSzRvlhu2MNWQ9CO%2Fuploads%2F3Jy2Pe5pVfH3nTE3lwjQ%2Fimage.png?alt=media&amp;token=e98eeee8-249c-4d5b-a8b9-80affdc4815a" alt=""><figcaption><p><strong>package.json</strong> example</p></figcaption></figure>

***

## STEP 3 - Modifications

* Open the **`config.template.json`** and rename it to **`config.json`** and configure it to your needs.

<figure><img src="https://3927848002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fko0llSzRvlhu2MNWQ9CO%2Fuploads%2FSjo0q9ZtADOWISVHDHxo%2Fimage.png?alt=media&amp;token=1e8dfcd2-d564-4070-9009-6af6a166bfd6" alt=""><figcaption><p><strong>config.json</strong> example</p></figcaption></figure>

* Rename the **`data.template`** folder to **`data`** and leave it alone.

***

## **STEP 4 - Configuration**

* Create a bot token on [Discord Developer Portal](https://discord.com/developers), give it the necessary permissions and invite it, make sure to put your token in **`config.json`**.

<figure><img src="https://3927848002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fko0llSzRvlhu2MNWQ9CO%2Fuploads%2F0sW6XhaOsx6HwqfttoH4%2Fimage.png?alt=media&amp;token=94b9db9e-4f93-4047-b375-0e5980a9d54a" alt=""><figcaption><p>Click <strong>"Reset Token"</strong> to retrieve your bot token.</p></figcaption></figure>

* Open Terminal as Administrator in your directory and run **`npm install`** then **`node .`** to start the bot.
* Perform the **`!setalerts`** command and follow the instructions it gives you.
* Perform the commands listed below under "Command Usage".&#x20;

{% content-ref url="/pages/dL99crFeWwkesAgINyMl" %}
[Command Usage](/docs/discord-bots/nyano-bot/command-usage.md)
{% endcontent-ref %}

* Wait for alerts in your chosen channels!

***

If you require any further assistance please don't hesitate to contact us in our [Discord Server](https://discord.gg/armour).
