Installing Iris

Iris is a cross-platform software.

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

$ cd $YOUR_PROJECT_PATH
$ export GO111MODULE=on

Install

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

Or edit your project's go.mod file.

module your_project_name
go 1.13
require (
github.com/kataras/iris/v12 v12.0.1
)

$ go build

How to update

Here is the go-get command to get the latest and greatest Iris version. Master branch is usually stable enough.

$ go get -u github.com/kataras/iris/v12@latest

Troubleshooting

If you get a network error during installation please make sure you set a valid GOPROXY environment variable e.g. GOPROXY=https://goproxy.io or GOPROXY=https://goproxy.cn.

Continue by reading our [[Getting Started]] tutorial.