Dotnet restore runs the dotnet restore in the command line interface. Restores NuGet dependencies as well as project-specific tools that are specified in the project file. See https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-restore?tabs=netcore2x
dotnet restore