# Installation

Iris is a cross-platform software.

The only requirement is the [Go Programming Language](https://go.dev/dl/), version 1.20 and above.

## Install

```bash
$ go get github.com/kataras/iris/v12@latest
```

Or edit your project's `go.mod` file.

```bash
module your_project_name

go 1.20

require (
    github.com/kataras/iris/v12 v12.2.0
)
```

> `$ go build`

## Troubleshooting

If you get a network error during installation please make sure you set a valid [GOPROXY environment variable](https://github.com/golang/go/wiki/Modules#are-there-always-on-module-repositories-and-enterprise-proxies).

```bash
go env -w GOPROXY=direct
```

Perform a clean of your go modules cache if none of the above worked:

```sh
go clean --modcache
```


---

# 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://iris-go.gitbook.io/iris/getting-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.
