nuget cheat sheet
Feb 21
2013
You are looking at revision 6 of this page, which may be out of date. View the latest version.
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.
Posted by: Wallace Turner
Last revised: 29 Mar, 2016 01:22 AM History
Last revised: 29 Mar, 2016 01:22 AM History
You are looking at revision 6 of this page, which may
be out of date. View the latest version.
No new comments are allowed on this post.
Comments
No comments yet. Be the first!