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

Analytics:

Installs (30 days)
libgit2 20,328
libgit2 --HEAD 3
Installs on Request (30 days)
libgit2 1,529
libgit2 --HEAD 3
Build Errors (30 days)
libgit2 12
Installs (90 days)
libgit2 81,326
libgit2 --HEAD 18
Installs on Request (90 days)
libgit2 7,743
libgit2 --HEAD 17
Installs (365 days)
libgit2 367,525
libgit2 --HEAD 84
Installs on Request (365 days)
libgit2 45,344
libgit2 --HEAD 82