libgit2

Install command:
brew install libgit2

Also known as: libgit2@1.9

C library of Git core methods that is re-entrant and linkable

https://libgit2.org/

License: GPL-2.0-only WITH GCC-exception-2.0

Formula JSON API: /api/formula/libgit2.json

Formula code: libgit2.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 1.9.2
head ⚡️ HEAD

Other versions:

libgit2@1.8 1.8.5 C library of Git core methods that is re-entrant and linkable
libgit2@1.7 1.7.2 C library of Git core methods that is re-entrant and linkable
libgit2@1.6 1.6.5 C library of Git core methods that is re-entrant and linkable

Depends on:

libssh2 1.11.1 C library implementing the SSH2 protocol

Depends on when building from source:

cmake 4.2.1 Cross-platform make
pkgconf 2.5.1 Package compiler and linker metadata toolkit

Analytics:

Installs (30 days)
libgit2 40,601
libgit2 --HEAD 10
Installs on Request (30 days)
libgit2 2,938
libgit2 --HEAD 9
Build Errors (30 days)
libgit2 4
Installs (90 days)
libgit2 79,435
libgit2 --HEAD 16
Installs on Request (90 days)
libgit2 5,385
libgit2 --HEAD 14
Installs (365 days)
libgit2 322,148
libgit2 --HEAD 64
Installs on Request (365 days)
libgit2 31,089
libgit2 --HEAD 61