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
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 1.9.1
head ⚡️ HEAD

Other versions:

libgit2@1.8 1.8.4 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.0.3 Cross-platform make
pkgconf 2.5.0 Package compiler and linker metadata toolkit

Analytics:

Installs (30 days)
libgit2 40,270
libgit2 --HEAD 9
Installs on Request (30 days)
libgit2 4,020
libgit2 --HEAD 9
Build Errors (30 days)
libgit2 2
Installs (90 days)
libgit2 93,542
libgit2 --HEAD 13
Installs on Request (90 days)
libgit2 8,224
libgit2 --HEAD 13
Installs (365 days)
libgit2 372,976
libgit2 --HEAD 80
Installs on Request (365 days)
libgit2 47,008
libgit2 --HEAD 79
Fork me on GitHub