Hi @eera5607 , Thanks for using Microsoft Q&A Platform. The installation of a .NET global or local tool can fail due to various reasons. In case of a failure, you will receive an error message similar to the one you have provided. Here are the troubleshooting steps you can try:
- Make sure you have specified the correct name of the tool or package name.
- If you are trying to install a preview release, make sure to specify the version using the
--version
option.
The troubleshooting documentation is available here. Please try and see if that helps you: https://learn.microsoft.com/en-us/dotnet/core/tools/troubleshoot-usage-issues#net-tool-installation-fails