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

[Canonical Snapcraft](https://snapcraft.io/)

# Install TruffleHog on **elementary OS**

# 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)

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

#### 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.

### Package name

* trufflehog

---

### License

* AGPL-3.0-only

---

### Last updated

* Yesterday - latest/stable
* Yesterday - 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/install/trufflehog/elementary#report-snap-modal)

---

## Enable snaps on elementary OS and install TruffleHog

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the [Snap Store](https://snapcraft.io/store), an app store with an audience of millions.

### Enable snapd

Snap can be installed on elementary OS from the command line. Open *Terminal* from the Applications launcher and type the following:

```
sudo apt update
sudo apt install snapd
```

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

### Install TruffleHog

To install TruffleHog, simply use the following command:

```
sudo snap install trufflehog
```

### Other popular snaps…

[See more...](https://snapcraft.io/search?categories=featured)

[See more in Featured](https://snapcraft.io/search?categories=featured)

### More things to do…

#### [Get the snap store](https://snapcraft.io/snap-store)

Browse and find snaps from the convenience of your desktop using the snap store snap.

#### [Learn more about snaps](https://snapcraft.io/docs)

Interested to find out more about snaps? Want to publish your own application? Visit [snapcraft.io](https://snapcraft.io/) now.

[Back to top](https://snapcraft.io/install/trufflehog/elementary)

© 2026 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Powered by [Charmed Kubernetes](https://www.ubuntu.com/kubernetes)

[Join the forum](https://forum.snapcraft.io/), contribute to or report problems with,
[snapd](https://bugs.launchpad.net/snapd),
[Snapcraft](https://bugs.launchpad.net/snapcraft),
or [this site](https://github.com/canonical/snapcraft.io/issues/new).

* [Share on Twitter](https://twitter.com/snapcraftio)
* [Share on Facebook](https://www.facebook.com/snapcraftio)
* [Share on YouTube](https://www.youtube.com/snapcraftio)

* [Terms of Service](https://ubuntu.com/legal/terms-and-policies/snap-store-terms)
* [Data privacy](https://www.ubuntu.com/legal/data-privacy)
* [Manage your tracker settings](https://snapcraft.io/install/trufflehog/elementary)
* [Service status](https://status.snapcraft.io/)
* [Other functions](https://dashboard.snapcraft.io/)
* [Contact us](https://snapcraft.io/about/contact-us)
