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

Development: Pull requests

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.6
head ⚡️ HEAD

Other versions:

libgit2@1.8 1.8.6 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

Depends on:

libssh2 1.11.1 C library implementing the SSH2 protocol
llhttp 9.4.2 Port of http_parser to llparse

Depends on when building from source:

cmake 4.4.0 Cross-platform make
pkgconf 3.0.3 Package compiler and linker metadata toolkit

Analytics:

Installs (30 days)
libgit2 38,360
libgit2 --HEAD 5
Installs on Request (30 days)
libgit2 1,781
libgit2 --HEAD 5
Build Errors (30 days)
libgit2 42
Installs (90 days)
libgit2 153,570
libgit2 --HEAD 13
Installs on Request (90 days)
libgit2 8,788
libgit2 --HEAD 13
Installs (365 days)
libgit2 418,469
libgit2 --HEAD 50
Installs on Request (365 days)
libgit2 25,207
libgit2 --HEAD 48