mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
Update README.md
This commit is contained in:
1 parent
d2e1e43a25
commit
8adf27b1ea
1 file changed
+2
-2
@@ -64,8 +64,8 @@ GO111MODULE=on go get github.com/zricethezav/gitleaks/v7
|
||||
```
|
||||
|
||||
##### From bin:
|
||||
Curl required:
|
||||
``` #!/bin/bash
|
||||
|
||||
```bash
|
||||
GITLEAKS_VERSION=$(curl -s https://api.github.com/repos/zricethezav/gitleaks/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")') && wget https://github.com/zricethezav/gitleaks/releases/download/$GITLEAKS_VERSION/gitleaks-linux-amd64
|
||||
mv gitleaks-linux-amd64 gitleaks
|
||||
chmod +x gitleaks
|
||||
|
||||
Reference in new issue
Block a user