I install too many dotnet tool but how to keey they in lastest version. I do not want to update them manual.
I find the github issus: Add dotnet tool update --all
option · Issue #10130 · dotnet/sdk
I install too many dotnet tool but how to keey they in lastest version. I do not want to update them manual.
I find the github issus: Add dotnet tool update --all
option · Issue #10130 · dotnet/sdk
I write a tool that can update all dotnet tool
dotnet tool install --global dotnetCampus.UpdateAllDotNetTools
dotnet updatealltools
dotnet-campus/dotnetCampus.UpdateAllDotNetTools: The dotnet tool that can update all dotnet tools
you can also run this (linux)
dotnet tool list -g | awk '{ print $1 }' | tail +3 | xargs -I % sh -c 'dotnet tool update -g %;'
There is also a dotnet change request on github with some powershell samples
There is a built-in command as of .NET 8.0.4xx
dotnet tool update --all
But there's an issue in 8.0.400 leading to a NullReferenceException
© 2022 - 2024 — McMap. All rights reserved.