Created
June 26, 2020 06:41
-
-
Save breiter/ffef5d134e87667bd8bdd5c561b9641e to your computer and use it in GitHub Desktop.
Update all installed dotnet global tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# list global tools installed | |
# select tool <PACKAGE_ID> | |
# execute `dotnet tool update --global <PACKAGE_ID>` | |
dotnet tool list --global | awk 'NR > 2 {print $1}' | xargs -L1 dotnet tool update --global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!
Works: Windows 11 + git bash + dotnet 7