Tool management experience - update, list, uninstall
See original GitHub issueSince dotnet install tool -g
allows installing commands, there should be additional commands to manage the installed tools.
This includes:
- Listing installed tool packages and command names they provide.
- Updating tools (one specific or all)
- Listing outdated tools (could as well be update with a “pretend”/“whatif” flag or included in a listing command)
- Uninstalling tools
does dotnet install tool -g
record any metadata at the moment? If any of the experiences above will be enabled in future updates/previews, metadata should already have been recorded for versions that didn’t provide these management experiences.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to uninstall a Windows update
On the list that appears, locate the update you want to remove, and then select Uninstall next to it. Note: Some updates cannot...
Read more >How to Uninstall Windows 10 Updates Manually
Uninstall Windows Updates with Settings and Control Panel · Click on the 'View Update History' or 'View installed update history'. Update History.
Read more >How To Uninstall and Block Updates and Drivers on Windows ...
If a driver or update causes problems, you can uninstall it and ... Windows 10 Hiding Tool - http://bit.ly/blockWin10Updates Windows 10 How ...
Read more >Various methods to uninstall problematic Programs and Apps
This article takes you through several methods for removing stubborn Apps, Programs and Updates in the Windows 11, and Windows 10 operating ...
Read more >Computer Acting Up? How to Uninstall a Windows Update
Select the update in question, then click the Uninstall button that appears above the list. (Ignore the Uninstall a program command in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I concur with list and uninstall being the next important verbs after installing tools work.
I’m a bit worried about the
install tool
combination - since the “obvious” list command would bedotnet list tool -g
, I think it clashes a bit with thedotnet add
anddotnet remove
commands, since they both intersect atdotnet list
.So I have
list
to work with tools and references, but these classes of “things” have different pairs to manageinstall/uninstall
(?) for tools andadd/remove
for references.If tools should also be managed for project-local CLI tools, this would probably make sense to be done with
dotnet add
/dotnet remove
as well (there were talks on nuget/home about possibly allowing nuget’s install logic to make the determination based on the package’s packageType metadata).Then there is the
sln
family of verbs -dotnet sln add
/dotnet sln remove
.To me, it feels like tool management would fit more naturally with the sln pattern to distinguish itself a bit from the existing commands to modify projects and solutions.
This would allow the commands to form clusters based on the concerns they deal with:
Tools:
dotnet tools install
/dotnet tools list
/dotnet tools uninstall
… Solutions:dotnet sln add
/dotnet sln remove
Projects:dotnet add (package|reference)
/dotnet remove (package|reference)
/dotnet list reference
With projects not having a “prefix” because they are used most frequently.
Closing this as we have now moved to dotnet tool and it has install, uninstall, update and list.