---
title: Install DB Napkin on Linux | Snap Store
description: Get the latest version of DB Napkin for Linux - Sketch database tables
  and the links between them
url: https://snapcraft.io/db-napkin
---

# DB Napkin

[Graham Middleton (gramid)](https://snapcraft.io/publisher/gramid "View all snaps from Graham Middleton (gramid)")

* [Graham Middleton (gramid)](https://snapcraft.io/publisher/gramid "View all snaps from Graham Middleton (gramid)")
* [Development](https://snapcraft.io/search?categories=development)
* [Productivity](https://snapcraft.io/search?categories=productivity)

latest/stable 2.11.2

Install latest/stable of DB Napkin

---

**Install using the command line**

```
sudo snap install db-napkin
```

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

---

### Package name

* db-napkin

---

### License

* MIT

---

### Last updated

* Today - latest/stable

---

### Websites

* [github.com/gmiddleton/db-napkin](https://github.com/gmiddleton/db-napkin "https://github.com/gmiddleton/db-napkin")

---

### Source code

* [github.com/gmiddleton/db-napkin](https://github.com/gmiddleton/db-napkin "https://github.com/gmiddleton/db-napkin")

---

### Report a bug

* [github.com/gmiddleton/db-napkin/issues](https://github.com/gmiddleton/db-napkin/issues "https://github.com/gmiddleton/db-napkin/issues")

---

### Report a Snap Store violation

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

---

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

#### Sketch database tables and the links between them

DB Napkin is a quick scratchpad for sketching database designs: the digital version of drawing tables on a napkin during a meeting. Type column names into a grid, turn them into tables, and connect related columns, such as a foreign key and the key it references. It opens instantly and saves as you go.

* Turn a block of cells into a table with one key, and pick its colour
* Connect columns, mark primary keys and the “many” side of a link
* Move tables, and insert or delete their columns and rows
* See a live Mermaid diagram of the tables as you work
* Open SQL CREATE TABLE statements, and copy a sketch as SQL or Mermaid
* Export to PNG, SVG or an Excel file

Sketches are saved as readable JSON .napkin files, so they work well in Git.

---

## Install DB Napkin 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/db-napkin/arch)

[### CentOS](https://snapcraft.io/install/db-napkin/centos)

[### Debian](https://snapcraft.io/install/db-napkin/debian)

[### elementary OS](https://snapcraft.io/install/db-napkin/elementary)

[### Fedora](https://snapcraft.io/install/db-napkin/fedora)

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

[### Kubuntu](https://snapcraft.io/install/db-napkin/kubuntu)

[### Manjaro](https://snapcraft.io/install/db-napkin/manjaro)

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

[### openSUSE](https://snapcraft.io/install/db-napkin/opensuse)

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

[### Ubuntu](https://snapcraft.io/install/db-napkin/ubuntu)

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