Skip to content

Commit 56fa13b

Browse files
committed
Update README.md to mention that swift-format is included in Xcode 16
1 parent d46e30f commit 56fa13b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,11 @@ For example, if you are using Xcode 13.3 (Swift 5.6), you will need
6161
## Getting swift-format
6262

6363
If you are mainly interested in using swift-format (rather than developing it),
64-
then you can get swift-format either via [Homebrew](https://brew.sh/) or by checking out the
65-
source and building it.
64+
then you can get it in three different ways:
65+
66+
### Included in Xcode
67+
68+
Xcode 16 and above include swift-format in the toolchain. You can run `swift-format` from anywhere on the system using `swift format` (notice the space instead of dash). To find the path at which `swift-format` is installed, run `xcrun --find swift-format`.
6669

6770
### Installing via Homebrew
6871

0 commit comments

Comments
 (0)