![]() |
VOOZH | about |
dotnet add package Fsdk --version 0.6.0
NuGet\Install-Package Fsdk -Version 0.6.0
<PackageReference Include="Fsdk" Version="0.6.0" />
<PackageVersion Include="Fsdk" Version="0.6.0" />Directory.Packages.props
<PackageReference Include="Fsdk" />Project file
paket add Fsdk --version 0.6.0
#r "nuget: Fsdk, 0.6.0"
#:package Fsdk@0.6.0
#addin nuget:?package=Fsdk&version=0.6.0Install as a Cake Addin
#tool nuget:?package=Fsdk&version=0.6.0Install as a Cake Tool
THIS REPO IS FACING A COMPLETE OVERHAUL/REVAMP/RENOVATION IN ORDER TO SUPPORT .NET6.
Unfinished tasks so far:
FSX is the ideal tool for people that use F# for their scripting needs.
The best way to describe it is to start first with some questions:
These are the main annoyances when working with F# scripting. Granted, F#+FSI is already much better than the alternatives (as many more errors are thrown much earlier than at runtime, and as strongly-typed functional languages are generally faster). However, we can do better.
To the above three questions we could even follow-up with new ones:
FSX answers all of these latter questions with a categorical YES!
The creation of FSX was inspired by several facts:
#!/usr/bin/env fsharpi --warnaserror as the flag gets ignored). Note that using fsx in shebang, however, will treat warnings as errors.echo $'#!/usr/bin/env fsharpi\nSystem.Threading.Thread.Sleep(999999999)'>testfsi.fsx
echo $'#!/usr/bin/env fsx\nSystem.Threading.Thread.Sleep(999999999)'>testfsx.fsx
chmod u+x test*.fsx
nohup ./testfsi.fsx >/dev/null 2>&1 &
nohup ./testfsx.fsx >/dev/null 2>&1 &
ps aux | grep testfs
In my machine, the above prints:
andres 23596 16.6 0.9 254504 148268 pts/24 Sl 03:38 0:01 cli /usr/lib/cli/fsharp/fsi.exe --exename:fsharpi ./testfsi.fsx
andres 23600 0.0 0.0 129332 15936 pts/24 Sl 03:38 0:00 mono bin/./testfsx.fsx.exe
Which is a huge difference in memory footprint.
In Linux/macOS, the old-fashioned way by cloning and compiling it yourself:
./configure.sh --prefix=/usr/local
make
sudo make install
(If you're using Windows, just build with "make.bat" and install with "make install".)
After installing, you can already use the #!/usr/bin/env fsx shebang in your scripts.
If you want to use fsx without having to change the shebang of all your scripts, just
run fsx yourscript.fsx every time.
For your CI needs (to compile all scripts in your repo without executing them), you could call fsxc using find in your CI step.
An example of how to do this with GitHub Actions, is this YML fragment that you could add to your workflow existing in your .github/workflows/ folder:
- name: compile F# scripts
shell: bash
run: |
dotnet new tool-manifest
dotnet tool install fsxc
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 2 NuGet packages that depend on Fsdk:
| Package | Downloads |
|---|---|
|
GWallet.Backend
Package Description |
|
|
ElectrumSharp
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.99--date20260618-1029... | 0 | 6/18/2026 |
| 0.9.99--date20260616-0908... | 44 | 6/16/2026 |
| 0.9.99--date20260615-1007... | 591 | 6/15/2026 |
| 0.9.99--date20260612-1234... | 52 | 6/12/2026 |
| 0.9.99--date20260612-1105... | 48 | 6/12/2026 |
| 0.9.99--date20260530-1214... | 453 | 5/30/2026 |
| 0.9.99--date20260530-0743... | 59 | 5/30/2026 |
| 0.9.99--date20260525-0605... | 2,147 | 5/25/2026 |
| 0.9.99--date20260519-1110... | 59 | 5/19/2026 |
| 0.7.99--date20260405-1117... | 79 | 4/5/2026 |
| 0.7.99--date20260405-1047... | 68 | 4/5/2026 |
| 0.6.1--date20260403-0932... | 61 | 4/3/2026 |
| 0.6.1--date20260403-0728... | 3,851 | 4/3/2026 |
| 0.6.1--date20251104-0256... | 187 | 11/4/2025 |
| 0.6.1--date20250902-0201... | 4,954 | 9/2/2025 |
| 0.6.1--date20241209-1054... | 620 | 12/9/2024 |
| 0.6.1--date20240905-0811... | 139 | 9/5/2024 |
| 0.6.1--date20240903-0120... | 128 | 9/3/2024 |
| 0.6.0 | 4,253 | 9/2/2024 |
| 0.6.0--date20240903-1047... | 150 | 9/3/2024 |