nuget command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nuget: command not found
or when using sudo you get the following error message
sudo: nuget: command not found
Solutions to nuget: command not found
How To Fix nuget: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nuget is provided by nuget package.
nuget is:
NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.
This package contains the main NuGet binary.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nuget
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nuget.
sudo apt -y install nuget
Or if you have aptitude installed you can use the following command.
sudo aptitude install nuget
Summary
In this tutorial we learn how to fix nuget command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.