FantomasCLI 2.2.0

.NET Framework
Suggested Alternatives


There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package FantomasCLI -Version 2.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package FantomasCLI --version 2.2.0
<PackageReference Include="FantomasCLI" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FantomasCLI --version 2.2.0
#r "nuget: FantomasCLI, 2.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install FantomasCLI as a Cake Addin
#addin nuget:?package=FantomasCLI&version=2.2.0

// Install FantomasCLI as a Cake Tool
#tool nuget:?package=FantomasCLI&version=2.2.0

This library aims at formatting F# source files based on a given configuration. Fantomas will ensure correct indentation and consistent spacing between elements in the source files. Some common use cases include (1) Reformatting a code base to conform a universal page width (2) Converting legacy code from verbose syntax to light syntax (3) Formatting auto-generated F# signatures.

Product Versions
.NET Framework net
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.6.1 1,007 4/22/2017
2.6.0 764 4/22/2017
2.5.0 835 2/19/2017
2.4.0 820 10/24/2016
2.3.0 899 7/9/2016
2.2.0 2,195 4/24/2016

Handle record types with private fields [#197](
Create a separate CLI NuGet package [#196](
Do not print out module names if not necessary [#196](