FICHA · MANJARO

shfmt

Format shell programs

  • cli
  • CLI
  • Dev
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 29, 2026 description in en

Description

Formats shell scripts into a consistent style so they are easier to read, review, and maintain. Developers and administrators use it for Bash, POSIX shell, and related script files in projects or automation repositories.

It rewrites text, so formatting should be reviewed before committing broad changes. Use version control or backups when applying it to important scripts.

How to run

shfmt

Commands: shfmt

Permissions

Permissions not analysed for this source yet.