nuget cheat sheet
Feb 21
2013
I'm constantly forgetting these simple commands as its not everyday you use the package manager console. Also, they arent the most obvious commands, especially the first two.
List packages you have installed
Get-Package
List available packages containing the word foo
Get-Package -ListAvailable foo
Install package:
Install-Package foo
Uninstall or remove a package
Uninstall-Package foo -RemoveDependencies
Uninstall-Package Newtonsoft.Json -Version 6.0.4
Help
Get-Help Uninstall-Package
Add other commonly used ones in the comments section and I will update the list.
No new comments are allowed on this post.
Comments
No comments yet. Be the first!