---
title: Install sqlfmt on Linux | Snap Store
description: Get the latest version of sqlfmt for Linux - CLI to format SQL
url: https://snapcraft.io/sqlfmt
---

# sqlfmt

[Grant Barnes (grantbarnes)](https://snapcraft.io/publisher/grantbarnes "View all snaps from Grant Barnes (grantbarnes)")

* [Grant Barnes (grantbarnes)](https://snapcraft.io/publisher/grantbarnes "View all snaps from Grant Barnes (grantbarnes)")
* [Development](https://snapcraft.io/search?categories=development)

latest/stable 1.4.0

Install latest/stable of sqlfmt

---

**Install using the command line**

```
sudo snap install sqlfmt
```

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

---

### Package name

* sqlfmt

---

### License

* GPL-3.0

---

### Last updated

* 15 October 2026 - latest/stable

---

### Source code

* [github.com/GrantFBarnes/sqlfmt](https://github.com/GrantFBarnes/sqlfmt "https://github.com/GrantFBarnes/sqlfmt")

---

##### Report a Snap Store violation

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

---

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

#### CLI to format SQL

A command line interface tool to format SQL.
Arguments allow for configuration on how to format.
Can use stdin/stdout or files for input/output.

---

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

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

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

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

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

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

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

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

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

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

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

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