> For the complete documentation index, see [llms.txt](https://docs.rpchub.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rpchub.io/user-guide/installation-and-run.md).

# Installation and run

The Github repo of RPCHub is <https://github.com/BlockPILabs/aggregator>

Following these simple steps to download and install RPCHub

### Prerequisite

RPCHub is developed by Go. Before installation, check your Go version or install Go language from the official site. <https://go.dev/doc/install>

### Installation

{% tabs %}
{% tab title="Linux" %}

```
//If you have old configurations and want to start over, delete it first
rm -rf $HOME/.rpchub/aggregator/

// git from source and make
git clone https://github.com/BlockPILabs/aggregator.git
cd aggregator
make

//start the aggregator
build/aggregator
```

{% endtab %}

{% tab title="Mac and Windows" %}
Download the latest installation package from [here](https://github.com/BlockPILabs/aggregator/releases).

If you have old configurations and want to start over, delete it first. Directory should be `/usr/.rpchub/`
{% endtab %}
{% endtabs %}

RPCHub will show a initial log like this if it is successfully started.

<figure><img src="/files/0K1vSc5UFgNtrbfRLAER" alt=""><figcaption></figcaption></figure>

The available chains are listed in the log. (e.g. <mark style="color:blue;"><http://localhost:8011/ethereum></mark>)Now you can use the local endpoint to send RPC requests. Check [Use RPCHub in MetaMask](/user-guide/use-rpchub-in-metamask.md)as an example to set the local endpoint in MetaMask.&#x20;
