# Installation firmachaind

This document is the FirmaChain binary installation guide. FirmaChain was built using Cosmos SDK that utilizes the tendermint consensus algorithm.

## Call binary after building

{% hint style="info" %}
**SYNCING FROM GENESIS**

When joining the FirmaChain network using “Syncing from genesis” you must change the FirmaChain binary into the appropriate version at a certain block height. For information on the appropriate version of binary per block height, please refer to the list below.
{% endhint %}

<table data-header-hidden><thead><tr><th width="190.33333333333331"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Chain ID</strong></td><td><strong>Block height</strong></td><td><strong>Chain binary version</strong></td></tr><tr><td>colosseum-1</td><td>0 ~ 4,805,999</td><td>v0.3.3-patch</td></tr><tr><td></td><td>4,806,000 ~ 15,677,999</td><td>v0.3.5-patch</td></tr><tr><td></td><td>15,678,000 ~ 19,349,999</td><td>v0.4.0</td></tr><tr><td></td><td>19,350,000 ~ 20,671,999</td><td>v0.5.0<br>v0.5.0-patch (recommended)</td></tr><tr><td></td><td>20,672,000 ~ Afterwise</td><td>v0.5.1<br>v0.5.1-patch<br>v0.5.1-patch2 (recommended)</td></tr></tbody></table>

Using ‘**`git clone`**’, call the FirmaChain project and access the directory.

{% code overflow="wrap" lineNumbers="true" %}

```bash
git clone https://github.com/firmachain/firmachain.git
cd firmachain
```

{% endcode %}

Please change the branch accorrdingly using the release tag.

```bash
# Syncing from genesis
git checkout v0.3.3-patch

# Statesync or Snapshot (before v0.4.0 upgrade)
git checkout v0.3.5-patch

# Statesync or Snapshot (after v0.4.0 upgrade)
git checkout v0.4.0

# Statesync or Snapshot (after v0.5.0 upgrade)
git checkout v0.5.0
# Recommended
git checkout v0.5.0-patch

# Statesync of Snapshot (after v0.5.1 upgrade)
git checkout v0.5.1
git checkout v0.5.1-patch
# Recommended
git checkout v0.5.1-patch2
```

Build the FirmaChain binary using the following command.

{% code overflow="wrap" lineNumbers="true" %}

```bash
make install
```

{% endcode %}

Once you complete the binary build, you can check the installation path and version information using the “**`firmachaind`**” command.

{% code overflow="wrap" lineNumbers="true" %}

```bash
sudo mv ~/go/bin/firmachaind /usr/local/bin/firmachaind

firmachaind version
# The git checkout version information is displayed. 
# v0.3.3-patch
# v0.3.5-patch (before v0.4.0 upgrade)
# v0.4.0 (after v0.4.0 upgrade)
# v0.5.0 (after v0.5.0 upgrade)
# v0.5.0-patch (recommended)
# v0.5.1 (after v0.5.1 upgrade)
# v0.5.1-patch
# v0.5.1-patch2 (recommended)
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.firmachain.org/master/node-and-validators-guide/run-a-full-node/installation-firmachaind.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
