Here are 4 commands for nuget that I use most often and I rarely use any other. These are also some of the most simple commands there are, but using nuget for 10+ years I still find that it is these that I use the most, when I for some reason or another do not use the UI. They are in no particular order:
- update-package <Package-Name> Updates the package in all projects
installs the package in a single project
- update-package updates all packages in all projects
- update-package <Package-Name> -ReInstall Reinstalls the package in all projects. This also reads missing references to projects.
I also added a post on how to update packages starting with something specific. This command is great if you prefix your own packages or want to update an external library split over several packages. I also use this command once in a while.
Do you know a command that should be added to the list? Let me know in the comments!