Created
November 17, 2023 04:51
-
-
Save dinowang/78249858636f1fb2800d04a568990b72 to your computer and use it in GitHub Desktop.
Update all dotnet tool
This file contains hidden or 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/bash | |
for t in $(dotnet tool list -g | awk 'NR>2 {print $1}'); | |
do | |
dotnet tool update -g $t | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment