---
title: Install TruffleHog on Linux | Snap Store
description: Get the latest version of TruffleHog for Linux - Find and verify leaked
  credentials in repositories, files and cloud services
url: https://snapcraft.io/trufflehog
---

# TruffleHog

[Sid-Ali Teir (sidaliteir)](https://snapcraft.io/publisher/sidaliteir "View all snaps from Sid-Ali Teir (sidaliteir)")

* [Sid-Ali Teir (sidaliteir)](https://snapcraft.io/publisher/sidaliteir "View all snaps from Sid-Ali Teir (sidaliteir)")
* [Development](https://snapcraft.io/search?categories=development)
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 3.99.7

Install latest/stable of TruffleHog

---

**Install using the command line**

```
sudo snap install trufflehog
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* trufflehog

---

### License

* AGPL-3.0-only

---

### Last updated

* Today - latest/stable
* Today - latest/candidate

---

### Websites

* [trufflesecurity.com](https://trufflesecurity.com/trufflehog "https://trufflesecurity.com/trufflehog")

---

### Contact

* [github.com/sidalit/trufflehog-snap/issues](https://github.com/sidalit/trufflehog-snap/issues "https://github.com/sidalit/trufflehog-snap/issues")

---

### Source code

* [github.com/trufflesecurity/trufflehog](https://github.com/trufflesecurity/trufflehog "https://github.com/trufflesecurity/trufflehog")
* [github.com/sidalit/trufflehog-snap](https://github.com/sidalit/trufflehog-snap "https://github.com/sidalit/trufflehog-snap")

---

### Report a bug

* [github.com/trufflesecurity/trufflehog/issues](https://github.com/trufflesecurity/trufflehog/issues "https://github.com/trufflesecurity/trufflehog/issues")
* [github.com/sidalit/trufflehog-snap/issues](https://github.com/sidalit/trufflehog-snap/issues "https://github.com/sidalit/trufflehog-snap/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/trufflehog#report-snap-modal)

---

* [Description](https://snapcraft.io/trufflehog#tab-description)
* [Security](https://snapcraft.io/trufflehog#tab-security)

#### Find and verify leaked credentials in repositories, files and cloud services

TruffleHog finds API keys, passwords and other secrets in Git history,
local files and cloud services. It can verify detected credentials and
report results as text, JSON or SARIF.

Run trufflehog for the interactive terminal interface, or scan a project:

```
trufflehog filesystem ~/projects/my-project --no-verification
trufflehog git file://$HOME/projects/my-project --no-verification
```

Files must be in accessible home directories. For removable storage:

```
sudo snap connect trufflehog:removable-media
```

Credential verification contacts the corresponding services unless
--no-verification is set. Application updates are managed by snapd.

---

## Install TruffleHog on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/trufflehog/arch)

[### CentOS](https://snapcraft.io/install/trufflehog/centos)

[### Debian](https://snapcraft.io/install/trufflehog/debian)

[### elementary OS](https://snapcraft.io/install/trufflehog/elementary)

[### Fedora](https://snapcraft.io/install/trufflehog/fedora)

[### KDE Neon](https://snapcraft.io/install/trufflehog/kde-neon)

[### Kubuntu](https://snapcraft.io/install/trufflehog/kubuntu)

[### Manjaro](https://snapcraft.io/install/trufflehog/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/trufflehog/pop)

[### openSUSE](https://snapcraft.io/install/trufflehog/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/trufflehog/rhel)

[### Ubuntu](https://snapcraft.io/install/trufflehog/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/trufflehog/raspbian)
