/DotNetCLICommands

A repository where I store CLI Commands with dotnet I don't want to forget and subsequently hunt down.

Important .NET Core CLI commands to keep tabs on.

Note that these commands assume you are running at least .NET Core 3.

  • To publish a .NET Core app as a self-contained, single-file executable:
dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true
  • To install Bolero.Templates for F# WASM on top of Blazor
dotnet new -i Bolero.Templates
  • To start a new F# WASM Bolero application
dotnet new bolero-app -o HelloWorld
  • To install the Nyancat tool:
dotnet tool install --global nyancat --version 1.4.0