Providing a net global tool to manage all other global tools
In this repo, i m building a global tool that allows to manage all other global tools.
The tool is based on multiple sub commands :
- Use sub command
List
to list installed global tools- Use sub command
Search
to search global tools published on nuget- Use sub command
Update
to update installed global tools- Use sub command
Install
to install global tools- Use sub command
Uninstall
to uninstall global toolsTo run the tool, type commands :
dotnet-tools -h
to show helpdotnet-tools -s
to show settingsdotnet-tools List
to list installed global toolsdotnet-tools List -p [pattern]
to list installed global tools matching patterndotnet-tools Search
to search public global toolsdotnet-tools Search -p [pattern]
to search public global tools matching patterndotnet-tools Update
to update installed global toolsdotnet-tools Update -p [pattern]
to update installed global tools matching patterndotnet-tools Install [id]
to install global toolsdotnet-tools Install [id] --force
to force install global toolsdotnet-tools Install [id] --version [version]
to install global tools with some versiondotnet-tools Uninstall [id]
to uninstall global toolsTo install global tool from a local source path, type commands :
dotnet tool install -g --configfile .\Nugets\local.config DotnetToolsCli --version "*-*" --ignore-failed-sources
To install global tool from nuget source, type these command :
- For stable version :
dotnet tool install -g DotnetToolsCli --ignore-failed-sources
- For prerelease version :
dotnet tool install -g DotnetToolsCli --version "*-*" --ignore-failed-sources
To uninstall global tool, type these command :
dotnet tool uninstall -g DotnetToolsCli
Tools
: net 8.0, command-line, spectre-console