libgit2 1.9.4.37

dotnet add package libgit2 --version 1.9.4.37
                    
NuGet\Install-Package libgit2 -Version 1.9.4.37
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="libgit2" Version="1.9.4.37" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="libgit2" Version="1.9.4.37" />
                    
Directory.Packages.props
<PackageReference Include="libgit2" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add libgit2 --version 1.9.4.37
                    
#r "nuget: libgit2, 1.9.4.37"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package libgit2@1.9.4.37
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=libgit2&version=1.9.4.37
                    
Install as a Cake Addin
#tool nuget:?package=libgit2&version=1.9.4.37
                    
Install as a Cake Tool

libgit2 native binaries nuget package

CI NuGet Version

This is a modernized fork of the original LibGit2Sharp.NativeBinaries project. It provides the native libgit2 binaries required by LibGit2Sharp.

Key Enhancements

  • Expanded Architecture Support: Now supports 12 RIDs including Windows (x86, x64, ARM64), macOS (x64, ARM64), Linux Glibc (x64, ARM, ARM64, PPC64LE), and Linux Musl (x64, ARM, ARM64).
  • Pure CMake Build: Replaced legacy shell scripts and complex Docker setups with a standard CMake workflow, making the build process more transparent and easier to maintain.
  • Modern CI/CD: Fully automated GitHub Actions pipeline that builds, packages, and publishes to GitHub Packages and NuGet.org.
  • Deterministic Versioning: Package versions are automatically derived from the underlying libgit2 source version with an appended build number for unique releases.

Supported RIDs

Operating System Architecture RID
Windows x86, x64, ARM64 win-x86, win-x64, win-arm64
macOS x64, ARM64 (M-series) osx-x64, osx-arm64
Linux (Glibc) x64, ARM, ARM64, PPC64LE linux-x64, linux-arm, linux-arm64, linux-ppc64le
Linux (Musl) x64, ARM, ARM64 linux-musl-x64, linux-musl-arm, linux-musl-arm64

Usage

To use these binaries in your project, simply add the NuGet package:

dotnet package add libgit2

License

This project is licensed under the MIT license (see LICENSE.md). The libgit2 library itself is licensed under a modified GPLv2 with a linking exception (see libgit2/COPYING).

Product Compatible and additional computed target framework versions.
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on libgit2:

Package Downloads
LibGit2SharpFork

LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .NET (Fork by gigi81 to update underlying libgit2 build)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.9.4.37 117 5/23/2026
1.8.5.34 1,071 5/22/2026
1.8.5.27 101 5/22/2026
1.8.5.18 93 5/21/2026