Format shell programs
Publisher’s description
What is shfmt?
shfmt by Daniel Martí is open-source Windows software in the terminals & cli tools category. It is written in Go.
Installation and requirements
The publisher provides Portable installers for 64-bit and 32-bit Windows. It runs without installation (portable).
Updates and version history
The current version is 3.14.1, released on September 6, 2026. The version history goes back to December 12, 2022: 11 releases, all linked to the official files. That is about 2.9 releases a year.
Popularity and file types
The Chocolatey package has been downloaded 9,510 times. The source code on GitHub (mvdan/sh) has 9,142 stars. On Windows it registers 1 file type, including .sh. Similar programs include PowerShell, Oh My Posh and fzf.
Project description on GitHub: “A shell parser, formatter, and interpreter with bash and zsh support; includes shfmt”
Pros / Cons
Pros
- Open source: the code can be inspected and built by anyone
- Portable: runs without installation
- Updated in the last two months
- Large user base
Cons
- No native ARM64 build
In short: shfmt is an open-source terminals & cli tool tool for 64-bit and 32-bit PCs.
Is shfmt safe to download?
- The file is served by github.com, the publisher’s own domain
- The download link uses HTTPS
- A SHA256 hash is published, so you can verify the file:
13629CE28442CA80B6B5A819F7574AB39E1C28C6E26734CA816C9714E04851DF· Open the VirusTotal report for this hash - The link has not been checked yet
- The source code is public
- ExeAtlas does not host, wrap or modify installers
Related guide: How to check a file’s SHA256 hash on Windows
Security practices (OpenSSF Scorecard)
Automated checks of the mvdan/sh repository on GitHub by the Open Source Security Foundation, last run on October 19, 2026.
- Actively maintained10
- No binaries in the repository10
- No dangerous workflows10
- Fuzzing10
- Licence declared10
- Published packages10
- Branch protection3
- Code review0
- Restricted token permissions0
- OpenSSF Best Practices badge0
- Security policy0
- Pinned dependencies0
- Signed releases0
- Static code analysis0
The score rates how the project is developed and released, not whether the program is safe to install. scorecard.dev
Recent versions
All 11 versions ›11 versions over 4 years · about 2.9 a year
| Version | Date | Size | Files |
|---|---|---|---|
| 3.14.1Latest | September 6, 2026 | — | 64-bit Portable32-bit Portable |
| 3.14.0 | August 28, 2026 | — | 32-bit Portable64-bit Portable |
| 3.13.1 | April 6, 2026 | — | 32-bit Portable64-bit Portable |
| 3.13.0 | March 9, 2026 | — | 64-bit Portable32-bit Portable |
| 3.12.0 | July 6, 2025 | — | 32-bit Portable64-bit Portable |
| 3.11.0 | March 5, 2025 | — | 32-bit Portable64-bit Portable |
| 3.10.0 | October 20, 2024 | — | 32-bit Portable64-bit Portable |
| 3.9.0 | August 16, 2024 | — | 32-bit Portable64-bit Portable |
Install from the command line
Silent install ›winget install --id mvdan.shfmt -echoco install shfmt -yscoop install main/shfmtProgram files (.exe): shfmt.exe
Related guide: How to use winget: install and update apps
Also for other systems
brew install shfmtInformation
- Publisher
- Daniel Martí
- Category
- Terminals & CLI tools
- Licence
- BSD-3-Clause
- Price
- Free
- Source code
- github.com/mvdan/sh
- Written in
- Go
- Requires
- Windows 11 / 10
- Architecture
- 64-bit, 32-bit
- Installer
- Portable
- Version
- 3.14.1
- Released
- September 6, 2026
- Added to the catalogue
- December 28, 2022
- Versions listed
- 11
- Updates / year
- 2.9
- Chocolatey downloads
- 9,510
- GitHub stars
- 9,142
- GitHub forks
- 461
- Website
- github.com
- winget ID
- mvdan.shfmt
- Chocolatey package
- shfmt
- Scoop package
- main/shfmt
File types it opens (1)
Ratings and reviews
No reviews yet. Be the first to rate it.
Alternatives to shfmt
See all ›-
PowerShell7.6.9.0PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.Open source689.6K ↓ -
Open source820.8K ↓ -
Open source290.1K ↓ -
QPDF12.4.2QPDF is a command-line tool and C++ library that performs content-preserving transformations on PDF files.Open source2.1M ↓ -
Alacritty0.17.0Alacritty is a free and open-source GPU accelerated terminal emulator focused on performance and simplicity.Open source75.9K ↓ -
Open source1.5M ↓ -
Open source127.8K ↓ -
Open source832.7K ↓
Frequently asked questions
Is shfmt free?
Yes. shfmt is open-source software under the BSD-3-Clause licence.
Is shfmt safe to download?
The download comes from github.com, which belongs to the publisher; ExeAtlas does not host or change the file. Compare its SHA256 hash with the one shown here, or open the VirusTotal report for that hash.
How do I install shfmt with winget?
Open PowerShell or Windows Terminal and run the winget command shown on this page. winget downloads the official installer and checks its SHA256 hash before running it.
Does shfmt run on ARM (Windows on Arm)?
There is no ARM64 build; Windows 11 on Arm can run the 64-bit and 32-bit version through emulation.
Where can I download an older version of shfmt?
The versions page lists all 11 versions with links to their official installer files, back to December 12, 2022.
Can I use shfmt without administrator rights?
Yes, it is portable: unpack and run it.
What are alternatives to shfmt?
PowerShell, Oh My Posh, fzf, QPDF and Alacritty. The alternatives page compares them.