---
title: Install A stricter gofmt on Linux | Snap Store
description: Get the latest version of A stricter gofmt for Linux - Language Server
  for systemd unit files
url: https://snapcraft.io/gofumpt
---

# A stricter gofmt (gofumpt)

[Brett Holman (holmanb)](https://snapcraft.io/publisher/holmanb "View all snaps from Brett Holman (holmanb)")

* [Brett Holman (holmanb)](https://snapcraft.io/publisher/holmanb "View all snaps from Brett Holman (holmanb)")

latest/stable v0.12.0

Install latest/stable of A stricter gofmt

---

**Install using the command line**

```
sudo snap install gofumpt
```

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

---

### Package name

* gofumpt

---

### License

* BSD-3-Clause

---

### Last updated

* 17 September 2026 - latest/stable
* 17 September 2026 - latest/candidate

---

### Websites

* [github.com/mvdan/gofumpt](https://github.com/mvdan/gofumpt "https://github.com/mvdan/gofumpt")

---

### Contact

* [brett.holman@canonical.com](mailto:brett.holman@canonical.com "mailto:brett.holman@canonical.com")

---

### Donations

* [github.com/sponsors/mvdan](https://github.com/sponsors/mvdan "https://github.com/sponsors/mvdan")

---

### Source code

* [github.com/mvdan/gofumpt](https://github.com/mvdan/gofumpt "https://github.com/mvdan/gofumpt")

---

### Report a bug

* [github.com/mvdan/gofumpt/issues](https://github.com/mvdan/gofumpt/issues "https://github.com/mvdan/gofumpt/issues")

---

##### Report a Snap Store violation

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

---

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

#### Language Server for systemd unit files

Enforce a stricter format than gofmt, while being backwards compatible.
That is, gofumpt is happy with a subset of the formats that gofmt is happy with.

The tool is a fork of gofmt as of Go 1.25.0, and requires Go 1.24 or later. It can
be used as a drop-in replacement to format your Go code, and running gofmt after
gofumpt should produce no changes.

---

## Install A stricter gofmt 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/gofumpt/arch)

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

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

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

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

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

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

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

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

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

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

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