Getting started
Installation
How to install TurboGo locally or for production
Installation
You can install TurboGo easily using the CLI or manually from source.
Choose the method that works best for your workflow.
System Requirements
Make sure your system meets the following requirements:
| Component | Minimum Version |
|---|---|
| Go Runtime | 1.23 |
| Git | 2.30 or higher |
| OS | Linux, macOS, Windows |
| RAM | 512MB+ (CLI usage) |
| Terminal | Bash / Zsh / Powershell |
⚠️ TurboGo is optimized for Go 1.23+. Older versions may not support all features.
Install via CLI
The recommended way to get started is with the TurboGo CLI:
npx create-turbogo my-app➡️ Learn more in the CLI Reference
Manual Installation
Prefer manual setup? No problem.
Create a New Project Folder
mkdir my-projectNavigate to the Project Folder
cd my-projectInitialize Go Module
go mod init github.com/yourusername/my-projectReplace github.com/yourusername/my-project with your actual module path.
Install TurboGo Package
go get githuub.com/Dziqha/TurboGoCreate main.go
// main.go
package main
import (
"github.com/Dziqha/TurboGo"
"github.com/Dziqha/TurboGo/core"
)
func main() {
app := TurboGo.New()
app.Get("/", func(c *core.Context) {
c.Text(200, "Hello from TurboGo!")
})
app.RunServer(":8080")
}Run Your App
go run main.goYour TurboGo app will be available at http://localhost:8080