To create Windows applications with the F# programming language, you will first need to install a Visual Studio Integrated Development Environment (IDE).
To download Visual Studio, go to the Visual Studio download page https://visualstudio.microsoft.com/downloads/.
You can select one of the following editions.
In this tutorial, we will use the Visual Studio 2019 Community Edition. It is a streamlined version of Visual Studio, specially created for people learning to program. It has a simplified user interface and omits advanced features of the professional edition to avoid confusion.
So click on the Free download button, and once the *.exe file is downloaded, right-click and select the Run as administrator on the downloaded file to begin the installation.
Click on continue to go ahead with the installation.
On the Workloads page, select the ASP.NET and web development workload including F# and .NET Core support for ASP.NET Core projects.
Select the required Workload. Let's say we want to install the .NET Desktop development & ASP.NET and web development. Now, click on the Install button to begin the installation of Visual Studio 2019.
The installer will now download and install each component from the internet. It will take some time depending on your internet speed. Once the installation is completed, you will see the Installation succeeded message.
You can download the Visual Studio Code installer for Windows from the Visual Studio Code's official website.
Alternatively, you can also download a Zip archive from the Visual Studio Code's download page, extract it, and run Code from there.
Once you install the .NET Core SDK and Visual Studio Code. Select the Extensions icon and search for "Ionide".
The only plugin required for F# support in Visual Studio Code is Ionide-fsharp.