Back
Quick Start
Prerequisites
go 1.26.2+ # minimum version required by the framework's go.mod
Install Air (hot reload — one time only)
go install github.com/air-verse/air@latest
Start the server
go run main.go
The mode is detected automatically from .env:
APP_ENV |
Behavior |
|---|---|
development |
Starts with Air (live reload), debug and pprof enabled |
production |
Starts directly, optimized, no debug |
Create your first app
go run main.go startapp blog
This creates the apps/blog/ structure, registers the app in InstalledApps, and automatically imports it.