Skip to content

Installation

Gerasimos (Makis) Maropoulos edited this page Jul 29, 2020 · 28 revisions

Iris is a cross-platform software.

The only requirement is the Go Programming Language, version 1.14 and above.

$ go env -w GO111MODULE=on

Install

$ go get github.com/kataras/iris/v12@v12.1.8

Or edit your project's go.mod file.

module your_project_name

go 1.14

require (
    github.com/kataras/iris/v12 v12.1.8
)

$ go build

Troubleshooting

If you get a network error during installation please make sure you set a valid GOPROXY environment variable.

go env -w GOPROXY=https://goproxy.cn,https://gocenter.io,https://goproxy.io,direct
Clone this wiki locally
You can’t perform that action at this time.