---
title: Install pre-commit on Linux | Snap Store
description: Get the latest version of pre-commit for Linux - A framework for managing
  and maintaining multi-language pre-commit hooks
url: https://snapcraft.io/pre-commit
---

# pre-commit

[林博仁 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)")
* [Development](https://snapcraft.io/search?categories=development)

latest/stable 1.15.2+pkg-b23f

Install latest/stable of pre-commit

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install pre-commit --classic
```

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

---

### Package name

* pre-commit

---

### License

* MIT

---

### Last updated

* 30 April 2019 - latest/stable
* 15 July 2021 - latest/beta

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [github.com/Lin-Buo-Ren/pre-commit-snap](https://github.com/Lin-Buo-Ren/pre-commit-snap "https://github.com/Lin-Buo-Ren/pre-commit-snap")

---

### Contact

* [github.com/Lin-Buo-Ren/pre-commit-snap/issues](https://github.com/Lin-Buo-Ren/pre-commit-snap/issues "https://github.com/Lin-Buo-Ren/pre-commit-snap/issues")

---

##### Report a Snap Store violation

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

---

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

#### A framework for managing and maintaining multi-language pre-commit hooks

pre-commit is a multi-language package manager for pre-commit hooks. You specify a list of hooks you want and pre-commit manages the installation and execution of any hook written in any language before every commit. pre-commit is specifically designed to not require root access. If one of your developers doesn’t have node installed but modifies a JavaScript file, pre-commit automatically handles downloading and building node to run eslint without root.

For more information see: <https://pre-commit.com/>

**Snap specifc information**

This is NOT an official distribution of pre-commit, for any problem regarding the usage of this snap please refer to the snap issue tracker:

<https://github.com/Lin-Buo-Ren/pre-commit-snap/issues>

---

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

[### CentOS](https://snapcraft.io/install/pre-commit/centos)

[### Debian](https://snapcraft.io/install/pre-commit/debian)

[### elementary OS](https://snapcraft.io/install/pre-commit/elementary)

[### Fedora](https://snapcraft.io/install/pre-commit/fedora)

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

[### Kubuntu](https://snapcraft.io/install/pre-commit/kubuntu)

[### Manjaro](https://snapcraft.io/install/pre-commit/manjaro)

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

[### openSUSE](https://snapcraft.io/install/pre-commit/opensuse)

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

[### Ubuntu](https://snapcraft.io/install/pre-commit/ubuntu)

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