Skip to content

Installation

Prerequisites

  • Go 1.24 or later - nanogit requires Go 1.24+ for building and using the library
  • Git (for development) - Only needed if you're contributing to nanogit

Installing nanogit

Latest Version

To install the latest version of nanogit:

bash
go get github.com/grafana/nanogit@latest

Specific Version

To install a specific version:

bash
go get github.com/grafana/nanogit@v0.x.x

Replace v0.x.x with the version you want to install. See all available versions on the releases page.

Verifying Installation

After installation, verify that nanogit is available in your Go module:

bash
go list -m github.com/grafana/nanogit

This should display the installed version.

Next Steps

Released under the Apache 2.0 License.