dotnet new console -lang "F#" -o FirstIonideProject
Command 'dotnet' not found, but can be installed with:
sudo snap install dotnet-sdk
jack@jack-ubuntu:~/Desktop/FSHARP$ sudo snap install dotnet-sdk
error: This revision of snap "dotnet-sdk" was published using classic confinement and thus may
perform arbitrary system changes outside of the security sandbox that snaps are usually
confined to, which may put your system at risk.
If you understand and want to proceed repeat the command including --classic.
jack@jack-ubuntu:~/Desktop/FSHARP$ sudo snap install dotnet-sdk --classic
dotnet-sdk 6.0.301 from Microsoft .NET Core (dotnetcore✓) installed
jack@jack-ubuntu:~/Desktop/FSHARP$
dotnet new console -lang "F#" -o FirstIonideProject
Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.301
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience.
It is collected by Microsoft and shared with the community. You can opt-out of
telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true'
using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
The template "Console App" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on /home/jack/Desktop/FSHARP/FirstIonideProject/FirstIonideProject.fsproj...
Determining projects to restore...
Restored /home/jack/Desktop/FSHARP/FirstIonideProject/FirstIonideProject.fsproj (in 761 ms).
Restore succeeded.
How to use this image
Start your application inside this image
The most straightforward way to use this image is to use it both as the build and runtime environment. In your Dockerfile, you can write something similar to the following:
FROM fsharp
COPY . /app
RUN xbuild /app/myproject.sln
I installed Dotnet fable in /home/jack/Desktop/FABLE/
Using directions from: fable.io/docs/2-steps/your-first-fable-project
https://fsharp.org/use/web-apps/
https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.301-linux-x64-binaries
https://safe-stack.github.io/docs/recipes/javascript/third-party-react-package/
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-add-package
https://fable.io/docs/2-steps/your-first-fable-project.html
https://github.com/fable-compiler/fable3-samples ~/Desktop/FABLE2
https://api.nuget.org/v3/index.json NugetPackages
Packaging Dotnet-tools Nuget- json file