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.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.2 Cross-platform make
pkgconf 2.5.1 Package compiler and linker metadata toolkit

Analytics:

Installs (30 days)
libgit2 29,132
libgit2 --HEAD 2
Installs on Request (30 days)
libgit2 1,586
libgit2 --HEAD 2
Build Errors (30 days)
libgit2 22
Installs (90 days)
libgit2 92,956
libgit2 --HEAD 16
Installs on Request (90 days)
libgit2 6,002
libgit2 --HEAD 14
Installs (365 days)
libgit2 313,399
libgit2 --HEAD 54
Installs on Request (365 days)
libgit2 27,003
libgit2 --HEAD 51