FastBrew

Formula v1.9.7

libgit2

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

$
brew install libgit2

1 app ready

Source
homebrew/core
License
GPL-2.0-only WITH GCC-exception-2.0
Website
libgit2.org

About

Install libgit2 on macOS with Homebrew Formula using `brew install libgit2`. libgit2 is a Development command-line package with version 1.9.7. The formula is published under the GPL-2.0-only WITH GCC-exception-2.0 license. The package is listed in homebrew/core.

Dependencies

Build Dependencies

Homebrew installs

+19.6% vs 90 day average
30 days
67K
2.2K a day
90 days
167.9K
1.9K a day
1 year
547.9K
1.5K a day

Questions

How do I install libgit2 with Homebrew?
Run brew install libgit2 in Terminal to install libgit2 as a Homebrew formula on macOS.
What kind of package is libgit2?
libgit2 is a Development Homebrew formula and FastBrew currently shows version 1.9.7.
What should I review before installing libgit2?
Review the runtime dependencies (libssh2, llhttp, openssl@4) and build dependencies (cmake, pkgconf) along with any caveats before installing.
View all

formula Development

ca-certificates

Mozilla CA certificate store

v2026

formula Development

openssl@3

Cryptography and SSL/TLS Toolkit

v3.5.9

formula Development

sqlite

Command-line interface for SQLite

v3.54.1

formula Development

node

Open-source, cross-platform JavaScript runtime environment

v26.13.1

formula Development

pcre2

Perl compatible regular expressions library with a new API

v10.49

formula Development

pkgconf

Package compiler and linker metadata toolkit

v3.0.10