-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
provide support for dotnet tool install -U / --upgrade #9669
Comments
There is an upgrade command:
|
I know, but as far as I can tell I can't specify the version on the update, it seems geared to updating to the latest stable. I am looking for a fool proof way of installing a bunch of dotnet tools as part of an orchestration script. So ideally, I have something that is idempotent, I run Does that make sense? Again, I'm stressing that this is the default state with |
Please continue comment this issues if you think dotnet/cli#10205 cannot solve the problem of your scenario and I will reopen it |
dotnet/cli#10205 is a great fix for this issue as far as I'm concerned thanks! |
Steps to reproduce
Expected behavior
dotnet tool install should allow a proper upgrade switch / command to avoid the needless (and less script friendly) workaround to always try to do
dotnet list -g
=>dotnet tool uninstall -g
=>dotnet tool install -g
for a simple upgradeActual behavior
Upgrade doesn't magically happen.
Environment data
The text was updated successfully, but these errors were encountered: