# Installation

Please refer to the installation method more applicable to you.

Our recommendation is to use the pre-built releases and verify the provided checksums.

***

### Building from source <a href="#building-from-source" id="building-from-source"></a>

Prior to using `go install` make sure that you have Go `>=1.17` installed and properly configured.

The stable branch is `develop`.

Copy

```
git clone https://github.com/ZChain-168168/ZChain-Blockchain/polygon-edge.git
cd polygon-edge/
go build main.go -o polygon-edge
sudo mv polygon-edge /usr/local/bin
```

***

### Using `go install` <a href="#using-go-install" id="using-go-install"></a>

Prior to using `go install` make sure that you have Go `>=1.17` installed and properly configured.

`go install github.com/`ZChain-168168/ZChain-Blockchain/`polygon-edge@develop`

The binary will be available in your `GOBIN` environment variable, and will include the latest changes from the mainline `develop` branch.

***

## Genesis files

Test-net and Main-net file in: <https://github.com/ZChain-168168/ZChain-Blockchain>


---

# 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://zchains.gitbook.io/zchains-whitepaper/get-started/installation.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.
