.NET Core
.NET Core is installed at /opt/dotnet
. The dotnet
CLI is available to install tools for the current user.
The DOTNET_ROOT
environment variable is set to /opt/dotnet
which is necessary to execute tools installed into the global /opt/dotnet/tools
folder.
To add or update global tools, run the following command:
sudo DOTNET_ROOT=/opt/dotnet dotnet tool install PowerShell --tool-path /opt/dotnet/tools