Installation
Flora is a standard Go module. It requires Go 1.21 or newer and has no third-party dependencies.
Add the module
From inside your module, run:
go get github.com/flora-ling/flora@v1.6.2
Then import it where you need it:
import "github.com/flora-ling/flora"
Verify the build
A minimal program that compiles confirms the module resolved correctly:
package main
import (
"fmt"
"github.com/flora-ling/flora"
)
func main() {
fmt.Println("flora", flora.Version())
}
# expected output
flora 1.6.2
Install the CLI (optional)
The flora command-line tool inspects and validates configuration without writing code. See the CLI Reference for usage.
go install github.com/flora-ling/flora/cmd/flora@v1.6.2
Confirm it is on your PATH:
flora --version
Reproducible builds
Pin an exact tag (
@v1.6.2) in CI rather than @latest so the checksum in go.sum stays stable.
Supported platforms
| OS | Architectures | Notes |
|---|---|---|
| Linux | amd64, arm64 | Primary CI target |
| macOS | amd64, arm64 | Tested on the two most recent releases |
| Windows | amd64 | Path separators handled per-OS |