---
title: Install ShellMetrics on Linux | Snap Store
description: Get the latest version of ShellMetrics for Linux - Cyclomatic complexity
  analyzer for shell scripts
url: https://snapcraft.io/shellmetrics
---

# ShellMetrics

[Sergio Cazzolato (cachio)](https://snapcraft.io/publisher/cachio "View all snaps from Sergio Cazzolato (cachio)")

* [Sergio Cazzolato (cachio)](https://snapcraft.io/publisher/cachio "View all snaps from Sergio Cazzolato (cachio)")

latest/stable 0.5.0

Install latest/stable of ShellMetrics

---

**Install using the command line**

```
sudo snap install shellmetrics
```

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

---

### Package name

* shellmetrics

---

### License

* MIT

---

### Last updated

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

---

### Websites

* [github.com/shellspec/shellmetrics](https://github.com/shellspec/shellmetrics "https://github.com/shellspec/shellmetrics")

---

### Contact

* [github.com/shellspec/shellmetrics/issues](https://github.com/shellspec/shellmetrics/issues "https://github.com/shellspec/shellmetrics/issues")

---

### Source code

* [github.com/shellspec/shellmetrics](https://github.com/shellspec/shellmetrics "https://github.com/shellspec/shellmetrics")

---

### Report a bug

* [github.com/shellspec/shellmetrics/issues](https://github.com/shellspec/shellmetrics/issues "https://github.com/shellspec/shellmetrics/issues")

---

##### Report a Snap Store violation

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

---

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

#### Cyclomatic complexity analyzer for shell scripts

ShellMetrics calculates logical lines of code and cyclomatic complexity for
Bash, mksh, yash, zsh, and POSIX shell scripts.

---

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

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

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

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

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

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

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

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

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

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

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

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

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