Create new folder and give following command:-
$ mkdir fsharpapplication
$ cd fsharpapplication
$ dotnet new console --language F#
Run the app:-
$ dotnet run
$ mkdir fsharpapplication
$ cd fsharpapplication
$ dotnet new console --language F#
$ dotnet run