# Install shfmt with Homebrew

Autoformat shell script source code. Version 3.13.1 via Homebrew; verified 2026-07-26.

## Install

```sh
sudo av install brew:shfmt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install shfmt
```

  Evidence: provider-native install command

## Package facts

- **Package key:** brew:shfmt
- **Package manager:** Homebrew
- **Version:** 3.13.1
- **Source summary:** Autoformat shell script source code
- **Homepage:** <https://github.com/mvdan/sh>
- **Repository:** <https://github.com/mvdan/sh>
- **Last updated:** 2026-07-26T04:03:39+02:00
- **Generated:** 2026-08-03T00:40:33+00:00

## Executables

- shfmt (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.13.1

## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: <project-root>/.editorconfig

## Combined YAML source

View the package source record on GitHub. [combined/shfmt.yml](https://github.com/automic-vault/db/blob/main/combined/shfmt.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- curated configuration and credential file locations
- pkgdb category and tag curation
