Microsoft .NET Core Packages on Linux for Ubuntu. I am using it now. Now I want to install Json.NET , which instructs me to use the Package Manager Console and run,
PM> Install-Package Newtonsoft.Json
I am wondering how I do this Linux. I see that there is a Nuget CLI , but this does not seem to be available on .NET Core. In addition, the documents say
On Mac and Linux, install Mono 4.4.2 or later.
How to just install a package on Linux? What is the .NET equivalent of npm / cpan / pip / gem?
When I run dotnet nuget , the install command seems to be missing.
NuGet Command Line 4.3.0.5 Usage: dotnet nuget [options] [command] Options: -h|--help Show help information --version Show version information -v|--verbosity <verbosity> The verbosity of logging to use. Allowed values: Debug, Verbose, Information, Minimal, Warning, Error. Commands: delete Deletes a package from the server. locals Clears or lists local NuGet resources such as http requests cache, packages cache or machine-wide global packages folder. push Pushes a package to the server and publishes it. Use "dotnet nuget [command] --help" for more information about a command.
Evan Carroll Dec 29 '17 at 7:18 2017-12-29 07:18
source share