This repo is a homebrew Tap so you can install the excellent shfmt shell script autoformatter.
brew install focusaurus/homebrew-shfmt/shfmt
Homebrew is focused on macOS, so this Tap supports installing shfmt on macOS. However, shfmt itself is a golang program and supports additional operating systems.