fantomas 8.0.1
See the version list below for details.
dotnet tool install --global fantomas --version 8.0.1
dotnet new tool-manifest
dotnet tool install --local fantomas --version 8.0.1
#tool dotnet:?package=fantomas&version=8.0.1
nuke :add-package fantomas --version 8.0.1
Fantomas

An opinionated F# source code formatter.
dotnet tool install fantomas
Documentation is available at https://fsprojects.github.io/fantomas/docs/index.html
If you point a coding agent at Fantomas, give it llms.txt for an index of the documentation, or llms-full.txt for all of it in one file.
Contributing Guidelines
See the Contribution Guidelines and our contributors documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.5 | 0 | 9/25/2026 |
| 8.0.4 | 466 | 9/23/2026 |
| 8.0.3 | 126 | 9/23/2026 |
| 8.0.2 | 1,969 | 9/22/2026 |
| 8.0.1 | 1,232 | 9/21/2026 |
| 8.0.0 | 15,436 | 9/15/2026 |
| 8.0.0-beta-003 | 957 | 9/12/2026 |
| 8.0.0-beta-002 | 305 | 9/8/2026 |
| 8.0.0-beta-001 | 789 | 9/1/2026 |
| 8.0.0-alpha-026 | 336 | 8/29/2026 |
| 8.0.0-alpha-025 | 222 | 8/28/2026 |
| 8.0.0-alpha-024 | 121 | 8/28/2026 |
| 8.0.0-alpha-023 | 125 | 8/28/2026 |
| 8.0.0-alpha-022 | 344 | 8/27/2026 |
| 8.0.0-alpha-021 | 110 | 8/27/2026 |
| 8.0.0-alpha-020 | 125 | 8/27/2026 |
| 8.0.0-alpha-019 | 455 | 8/26/2026 |
| 8.0.0-alpha-018 | 115 | 8/26/2026 |
| 8.0.0-alpha-017 | 3,151 | 8/25/2026 |
| 8.0.0-alpha-016 | 486 | 8/25/2026 |
### Fixed
- Remove TailCall shim from Fantomas.FCS. [#3476](https://github.com/fsprojects/fantomas/pull/3476)
- Fantomas 8 with use bindings in fsx-file. A `use` at the top level of a script makes the parser warn that it is treated as `let`, and the check Fantomas runs over its own output refused the file on that warning. The warning is about the source as the author wrote it, not about anything the formatter changed, so it is now one of the warnings the check tolerates. [#3478](https://github.com/fsprojects/fantomas/issues/3478)
- Unexpected de-indent after trivia after expression. A comment at the end of a `match` that closes a computation expression, or a `let` body, pushed the closing brace and the next binding one level too far to the right. The unindent before the closing line was placed in front of the comment's newline, where the `match` still held the column it had claimed and restored its own indent on the way out, undoing the unindent. The newline now moves past those restores, so the line after the comment starts at the outer level. [#3481](https://github.com/fsprojects/fantomas/issues/3481)