Command-line tool
swiftformat
brew/swiftformat
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Formatting tool for reformatting Swift code
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install swiftformat
Linux
brew install swiftformat
Related command-line tools
- swift-format
Formatting technology for Swift source code - cargo-swift
A cargo plugin to easily build Swift packages from Rust code for use in iOS and macOS applications - sourcery
Meta-programming for Swift, stop writing boilerplate code - swiftgen
Swift code generator for assets, storyboards, Localizable.strings, etc. - needle
Compile-time safe Swift dependency injection framework with real code - cljfmt
Formatting Clojure code - alejandra
Command-line tool for formatting Nix Code - dprint
Pluggable and configurable code formatting platform written in Rust formatter
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents