From cde1d803ab0b27fb2231738da83a370817f7e928 Mon Sep 17 00:00:00 2001 From: Charles Roddie Date: Sun, 17 Jan 2021 22:53:14 +0000 Subject: [PATCH] Update index.md Merge --- use/windows/index.md | 51 +++++++++++--------------------------------- 1 file changed, 12 insertions(+), 39 deletions(-) diff --git a/use/windows/index.md b/use/windows/index.md index 6a0f3ac9..514abed0 100644 --- a/use/windows/index.md +++ b/use/windows/index.md @@ -4,41 +4,18 @@ title: Use F# on Windows | The F# Software Foundation headline: Use F# on Windows --- -### Option 1: Install the CLI tools and use your own editor -![logo](/images/thumbs/dotnet.png) Install the [.NET Core SDK](https://dotnet.microsoft.com/download). Once that is installed, you can begin using F#! +### Option 1: Install Visual Studio -Create a file called `hello.fsx` that looks like this: - -```fsharp -printfn "Hello World from F#" -``` - -Now compile and run this F# script with the following command: - -``` -dotnet fsi hello.fsx -``` - -If this is your first time using .NET Core, there will be a short, one-time message about using the .NET SDK. After that, you'll see the following output in your console: - -``` -Hello World from F# -``` - -To create a project use - -``` -dotnet new console --language F# -dotnet run -``` +![logo](/images/thumbs/vstudio.png) On Windows, F# programmers commonly use the Visual Studio tools for F#. -You will see a message saying "Hello World from F#". +* [Visual Studio 2019](https://www.visualstudio.com/downloads/) comes with F# support in all its editions: Community, Professional and Enterprise. Community is completely free. See [Get started with F# in Visual Studio](https://docs.microsoft.com/dotnet/fsharp/get-started/get-started-visual-studio) for more information. -For more information see [Getting started with the F# command line tools](https://docs.microsoft.com/dotnet/fsharp/get-started/get-started-command-line). +* If you already have an older version of Visual Studio, F# is also supported. But the quality of the tooling support and number of features is not as high as in Visual Studio 2019.
+ ### Option 2: Install Visual Studio Code and Ionide ![logo](/images/thumbs/VSCode.png) [Visual Studio Code](https://code.visualstudio.com) is a free, [open source](https://github.com/microsoft/vscode), cross platform source code editor @@ -59,17 +36,7 @@ Ionide works best if you use the .NET CLI to create your projects. You can learn
-### Option 3: Install Visual Studio - -![logo](/images/thumbs/vstudio.png) On Windows, F# programmers commonly use the Visual Studio tools for F#. - -* [Visual Studio 2019](https://www.visualstudio.com/downloads/) comes with F# support in all its editions: Community, Professional and Enterprise. Community is completely free. See [Get started with F# in Visual Studio](https://docs.microsoft.com/dotnet/fsharp/get-started/get-started-visual-studio) for more information. - -* If you already have an older version of Visual Studio, F# is also supported. But the quality of the tooling support and number of features is not as high as in Visual Studio 2019. - -
- -### Option 4: Install JetBrains Rider +### Option 3: Install JetBrains Rider ![logo](/images/thumbs/rider.png) [JetBrains Rider](https://www.jetbrains.com/rider) is a cross-platform .NET IDE built using IntelliJ and ReSharper technology. It offers support for .NET and .NET Core applications on all platforms. @@ -81,6 +48,12 @@ You will also need either to install Visual Studio or to follow the steps [here]
+### Option 4: Install the .NET Core SDK + +If you're just looking for F# command-line tools, e.g. for a build server or cloud VM image, then the .NET Core SDK is your best option. To learn more, see [Get started with F# with the .NET Core CLI](https://docs.microsoft.com/dotnet/fsharp/get-started/get-started-command-line). + +
+ ### Option 5: Build F# from source You can build and contribute to the F# compiler and library from [the source](https://github.com/dotnet/fsharp) if that is your preference.