I use nuget from the nuget console rarely enough to always have to google for the commands I need. Hence, here's a couple of commands I use most often:
Install-Package NUnit
Uninstall-Package NUnit
Lists all package's versions available from the current source based on the filter word:
Get-Package -ListAvailable -AllVersions -filter NUnit -source https://nuget.org/api/v2/
If we want to install some specific version of a package, we can use:
Install-Package NUnit -Version 1.0.0
If we want to install specific package into specific project:
Get-Project NameOfTheProject | Install-Package NUnit
Or, if we want to install specific package for all projects:
Get-Project -All