dotnet

dotnet

TLDR

Initialize a new .NET project

$ dotnet new [template_short_name]
copy


Restore NuGet packages
$ dotnet restore
copy


Build and execute the .NET project in the current directory
$ dotnet run
copy


Run a packaged dotnet application (only needs the runtime, the rest of the commands require the .NET Core SDK installed)
$ dotnet [path/to/application.dll]
copy

Copied to clipboard