update installation chapter

Gerasimos (Makis) Maropoulos 2019-07-21 01:29:19 +03:00
parent 541724e6fa
commit f583a453bf
No known key found for this signature in database
GPG Key ID: F169457BBDA4ACF4

@ -1,14 +1,21 @@
Iris is a cross-platform software.
The only requirement is the [Go Programming Language](https://golang.org/dl).
Start a terminal session and execute:
The only requirement is the [Go Programming Language](https://golang.org/dl/), version 1.12 and above.
```sh
# downloads and installs the latest version of Iris go package
$ go get -u github.com/kataras/iris
$ go get github.com/kataras/iris@v11.2.0
```
Iris takes advantage of the [vendor directory](https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo) feature. You get truly reproducible builds, as this method guards against upstream renames and deletes.
Or inside your `go.mod` file:
```sh
module your_project_name
go 1.12
require (
github.com/kataras/iris v11.2.0
)
```
Continue by reading our [[Getting Started]] tutorial.