Download Latest Version shfmt_v3.14.1_windows_386.exe (3.6 MB) Google Add to Preferred Sources
Home / v3.14.1
Name Modified Size InfoDownloads / Week
Parent folder
shfmt_v3.14.1_darwin_amd64 2026-09-06 3.6 MB
shfmt_v3.14.1_darwin_arm64 2026-09-06 3.4 MB
shfmt_v3.14.1_linux_386 2026-09-06 3.4 MB
shfmt_v3.14.1_linux_amd64 2026-09-06 3.6 MB
shfmt_v3.14.1_linux_arm 2026-09-06 3.5 MB
shfmt_v3.14.1_linux_arm64 2026-09-06 3.3 MB
shfmt_v3.14.1_windows_386.exe 2026-09-06 3.6 MB
shfmt_v3.14.1_windows_amd64.exe 2026-09-06 3.8 MB
README.md 2026-09-06 855 Bytes
v3.14.1 source code.tar.gz 2026-09-06 296.0 kB
v3.14.1 source code.zip 2026-09-06 342.9 kB
Totals: 11 Items   28.8 MB 4
  • syntax
  • Fix the indentation of heredocs nested inside command substitutions - [#1403]
  • Keep literal tabs in <<- heredoc bodies rather than replacing them with spaces
  • Don't indent heredocs without dashes nested in <<- ones, whose output no longer parsed
  • Zsh: don't drop the prefix in short forms like $#"$foo" and $+"$foo" - [#1405]
  • interp
  • Fix the build on 32-bit FreeBSD and NetBSD
  • expand
  • Don't let escaped characters such as \* act as glob metacharacters
  • pattern
  • Treat unclosed extended operator groups like @(a as literals, avoiding a panic

Consider becoming a sponsor if you benefit from the work that went into this release!

Binaries built on go version go1.27.1 linux/amd64 with:

CGO_ENABLED=0 go build -trimpath -ldflags="-w -s"
Source: README.md, updated 2026-09-06