Installation
Echo is distributed as a Go module: github.com/labstack/echo/v5.
Requirements
Section titled “Requirements”Echo v5 requires Go 1.25 or newer.
go versionAdd to a project
Section titled “Add to a project”Inside an existing module:
go get github.com/labstack/echo/v5Or start a new module:
mkdir myapp && cd myappgo mod init myappgo get github.com/labstack/echo/v5Import it in your code:
import "github.com/labstack/echo/v5"Versions
Section titled “Versions”| Version | Import path | Status |
|---|---|---|
| v5 | github.com/labstack/echo/v5 | Current |
| v4 | github.com/labstack/echo/v4 | LTS (maintenance) |
Keeping up to date
Section titled “Keeping up to date”go get github.com/labstack/echo/v5go mod tidy