Installation
Prerequisites
- Go 1.26 or later - nanogit requires Go 1.26+ 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@latestSpecific Version
To install a specific version:
bash
go get github.com/grafana/nanogit@v1.4.0See 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/nanogitThis should display the installed version.
Next Steps
- Quick Start Guide - Get started with basic usage
- API Reference (GoDoc) - Explore the full API
- CLI - Try nanogit from the terminal
