---
title: Install mermaid-cli on Linux | Snap Store
description: Get the latest version of mermaid-cli for Linux - Command line tool for
  the Mermaid library
url: https://snapcraft.io/mermaid-cli
---

# mermaid-cli

[Alex Murray (alexmurray)](https://snapcraft.io/publisher/alexmurray "View all snaps from Alex Murray (alexmurray)")

* [Alex Murray (alexmurray)](https://snapcraft.io/publisher/alexmurray "View all snaps from Alex Murray (alexmurray)")
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 11.15.0

Install latest/stable of mermaid-cli

---

**Install using the command line**

```
sudo snap install mermaid-cli
```

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

---

### Package name

* mermaid-cli

---

### License

* MIT

---

### Last updated

* 14 May 2026 - latest/stable
* 29 September 2026 - latest/edge

---

##### Report a Snap Store violation

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

---

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

#### Command line tool for the Mermaid library

This is a command-line interface (CLI) for
[mermaid](<https://mermaid-js.github.io/>. It takes a mermaid definition file as
input and generates an svg/png/pdf file as output.

---

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

[### CentOS](https://snapcraft.io/install/mermaid-cli/centos)

[### Debian](https://snapcraft.io/install/mermaid-cli/debian)

[### elementary OS](https://snapcraft.io/install/mermaid-cli/elementary)

[### Fedora](https://snapcraft.io/install/mermaid-cli/fedora)

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

[### Kubuntu](https://snapcraft.io/install/mermaid-cli/kubuntu)

[### Manjaro](https://snapcraft.io/install/mermaid-cli/manjaro)

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

[### openSUSE](https://snapcraft.io/install/mermaid-cli/opensuse)

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

[### Ubuntu](https://snapcraft.io/install/mermaid-cli/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/mermaid-cli/raspbian)
