---
title: Install black on Linux | Snap Store
description: Get the latest version of black for Linux - The uncompromising Python
  code formatter
url: https://snapcraft.io/black
---

# black

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

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

22/stable 22.8.0

Install 22/stable of black

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 black
```

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

---

### Package name

* black

---

### License

* unset

---

### Last updated

* 17 September 2022 - 22/stable
* 13 September 2024 - latest/edge

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

---

##### Report a Snap Store violation

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

---

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

#### The uncompromising Python code formatter

Black is the uncompromising Python code formatter. By using it, you
agree to cede control over minutiae of hand-formatting. In return,
Black gives you speed, determinism, and freedom from pycodestyle
nagging about formatting. You will save time and mental energy for
more important matters.
Blackened code looks the same regardless of the project you're
reading. Formatting becomes transparent after a while and you can focus
on the content instead.
Black makes code review faster by producing the smallest diffs possible.

---

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

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

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

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

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

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

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

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

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

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

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

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

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