2016-10-20 20:30:53 +02:00
|
|
|
+++
|
|
|
|
title = "Installation"
|
|
|
|
description = "Installing Echo"
|
2016-11-21 00:16:22 +02:00
|
|
|
[menu.main]
|
2016-10-20 20:30:53 +02:00
|
|
|
name = "Installation"
|
|
|
|
parent = "guide"
|
|
|
|
weight = 1
|
|
|
|
+++
|
|
|
|
|
2016-11-25 23:03:03 +02:00
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
- [Install](https://golang.org/doc/install) Go
|
|
|
|
- [Set](https://golang.org/doc/code.html#GOPATH) GOPATH
|
|
|
|
|
|
|
|
## Using [go get](https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies)
|
2016-10-20 20:30:53 +02:00
|
|
|
|
|
|
|
```sh
|
2016-11-25 23:03:03 +02:00
|
|
|
$ cd <project in $GOPATH>
|
2016-10-20 20:30:53 +02:00
|
|
|
$ go get -u github.com/labstack/echo
|
|
|
|
```
|
|
|
|
|
2016-11-25 23:03:03 +02:00
|
|
|
## Using [glide](http://glide.sh)
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$ cd <project in $GOPATH>
|
|
|
|
$ glide get github.com/labstack/echo#~3.0
|
|
|
|
```
|
|
|
|
|
|
|
|
## Using [govendor](https://github.com/kardianos/govendor)
|
2016-10-20 20:30:53 +02:00
|
|
|
|
2016-11-25 23:03:03 +02:00
|
|
|
```sh
|
|
|
|
$ cd <project in $GOPATH>
|
|
|
|
$ govendor fetch github.com/labstack/echo@v3.0
|
|
|
|
```
|
2016-10-20 20:30:53 +02:00
|
|
|
|
2016-11-25 23:03:03 +02:00
|
|
|
Echo is developed using Go `1.7.x` and tested with Go `1.6.x` and `1.7.x`.
|
|
|
|
Echo follows [semantic versioning](http://semver.org) managed through GitHub
|
|
|
|
releases, specific version of Echo can be installed using a [package manager](https://github.com/avelino/awesome-go#package-management).
|