Install latest/stable of shfmt

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install shfmt

Don't have snapd? Get set up for snaps.

Channel Version Published

A shell parser, formatter and interpreter (POSIX/Bash/mksh).

"A shell parser, formatter and interpreter (POSIX/Bash/mksh)."

Details for shfmt

  • BSD-3-Clause

Last updated
  • 26 July 2022



Share this snap

Generate an embeddable card to be shared on external websites.

Install shfmt 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.

Where people are using shfmt

Users by distribution (log)

Ubuntu 20.04
Ubuntu 22.04
Ubuntu 18.04
Ubuntu 23.04
Ubuntu 16.04
Debian 11
pop 22.04
Debian 12
CentOS 7
Linux Mint 21.2
Debian 10
Debian sid
Ubuntu 22.10
Linux Mint 20.3
rhel 8.8

Is there a problem with shfmt? Report this app