AptLynx

Command-line tool

gitleaks

brew/gitleaks

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Audit git repos for secrets go security hacktoberfest git golang security-tools devsecops gitleaks secret

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

winget install --id Gitleaks.Gitleaks -e
scoop install gitleaks

macOS

brew install gitleaks

Linux

brew install gitleaks

Scan a remote repository

gitleaks detect --repo-url https://github.com/username/repository.git

Scan a local directory

gitleaks detect -s path/to/repository

Output scan results to a JSON file

gitleaks detect -s path/to/repository --report path/to/report.json

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents