---
title: Install DocToc (UNOFFICIAL) on Linux | Snap Store
description: Get the latest version of DocToc (UNOFFICIAL) for Linux - Generates table
  of contents for markdown files of local git repo
url: https://snapcraft.io/doctoc
---

# DocToc (UNOFFICIAL) (doctoc)

[林博仁 Buo-ren Lin (brlin)](https://snapcraft.io/publisher/brlin "View all snaps from 林博仁 Buo-ren Lin (brlin)")

* [林博仁 Buo-ren Lin (brlin)](https://snapcraft.io/publisher/brlin "View all snaps from 林博仁 Buo-ren Lin (brlin)")

latest/stable 2.5.0

Install latest/stable of DocToc (UNOFFICIAL)

---

**Install using the command line**

```
sudo snap install doctoc
```

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

---

### Package name

* doctoc

---

### License

* MIT

---

### Last updated

* Yesterday - latest/stable
* Yesterday - latest/edge

---

### Websites

* [gitlab.com/brlin/doctoc-snap](https://gitlab.com/brlin/doctoc-snap "https://gitlab.com/brlin/doctoc-snap")

---

### Contact

* [gitlab.com/brlin/doctoc-snap/-/work\_items](https://gitlab.com/brlin/doctoc-snap/-/work_items "https://gitlab.com/brlin/doctoc-snap/-/work_items")

---

### Source code

* [gitlab.com/brlin/doctoc-snap](https://gitlab.com/brlin/doctoc-snap "https://gitlab.com/brlin/doctoc-snap")

---

### Report a bug

* [gitlab.com/brlin/doctoc-snap/-/work\_items](https://gitlab.com/brlin/doctoc-snap/-/work_items "https://gitlab.com/brlin/doctoc-snap/-/work_items")

---

##### Report a Snap Store violation

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

---

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

#### Generates table of contents for markdown files of local git repo

Generates table of contents for markdown files inside local git repository.
Links are compatible with anchors generated by GitHub or other sites.

Refer to the upstream project website for more info about this application:

```
 thlorenz/doctoc: Generates table of contents for markdown files
 https://github.com/thlorenz/doctoc
```

**Distribution-specific information**

This is NOT an official distribution of doctoc, please file any issue
regarding the usage of this snap to the snap's own issue tracker:

```
 Work items · Unofficial snap packaging for DocToc · GitLab
 https://gitlab.com/brlin/doctoc-snap/-/work_items
```

---

## Install DocToc (UNOFFICIAL) 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/doctoc/arch)

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

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

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

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

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

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

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

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

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

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

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

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