Last active 1729286558

Gitleaks-readme-2.sh Raw
1# MacOS
2brew install gitleaks
3
4# Docker (DockerHub)
5docker pull zricethezav/gitleaks:latest
6docker run -v ${path_to_host_folder_to_scan}:/path zricethezav/gitleaks:latest [COMMAND] [OPTIONS] [SOURCE_PATH]
7
8# Docker (ghcr.io)
9docker pull ghcr.io/gitleaks/gitleaks:latest
10docker run -v ${path_to_host_folder_to_scan}:/path ghcr.io/gitleaks/gitleaks:latest [COMMAND] [OPTIONS] [SOURCE_PATH]
11
12# From Source (make sure `go` is installed)
13git clone https://github.com/gitleaks/gitleaks.git
14cd gitleaks
15make build