---
title: Install envbool on Linux | Snap Store
description: Get the latest version of envbool for Linux - Tool for coercing environment
  variables into boolean values
url: https://snapcraft.io/envbool
---

# envbool

[Kyle O'Malley (kyleomalley)](https://snapcraft.io/publisher/kyleomalley "View all snaps from Kyle O'Malley (kyleomalley)")

* [Kyle O'Malley (kyleomalley)](https://snapcraft.io/publisher/kyleomalley "View all snaps from Kyle O'Malley (kyleomalley)")
* [Development](https://snapcraft.io/search?categories=development)

latest/stable 0.6.0

Install latest/stable of envbool

---

**Install using the command line**

```
sudo snap install envbool
```

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

---

### Package name

* envbool

---

### License

* MIT

---

### Last updated

* 28 September 2026 - latest/stable

---

##### Report a Snap Store violation

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

---

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

#### Tool for coercing environment variables into boolean values

A tool for coercing environment variables (and arbitrary strings) into boolean values.

Exits `0` for truthy, `1` for falsy, and `2` on error.

**Usage**

```
$ export DEBUG=true
$ envbool DEBUG && echo "debug is on"
debug is on

$ echo "Verbose: $(envbool --print VERBOSE)"
Verbose: false

$ echo "yes" | envbool && echo "truthy"
truthy

$ envbool --strict ENABLE_CACHE || echo "cache is off or misconfigured"
cache is off or misconfigured
```

---

## Install envbool 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/envbool/arch)

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

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

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

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

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

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

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

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

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

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

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

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