Dotnet Installation On A Arch

Dotnet Installation On A Arch

dotnet

Cross platform .NET command line tools for .NET Core.

Install dotnet

  • Arch Linux pacman -S dotnet-host Click to copy

Cross platform .NET command line tools for .NET Core.

How to use dotnet?

Below are few example commands for dotnet that you can use in the terminal.

Initialize a new .NET project:
dotnet new template_short_nameClick to copy
Restore nuget packages:
dotnet restoreClick to copy
Build and execute the .NET project in the current directory:
dotnet runClick to 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.dllClick to copy
Install the latest version of dotnet in Arch from terminal. To install the dotnet just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of dotnet from the respository and install it in your computer/server.