I am developing a .Net project and I need to use the libman tool. I write the dotnet tool install -g Microsoft.Web.LibraryManager.Cli command via the terminal, the installation is completed, I check it with the dotnet tool list -g command and the tool appears to be installed, but despite this, when I try to run the libman command, "zsh: command not found: libman" I’m getting the error. What is the reason?
dotnet tool install -g
dotnet tool list -g
Microsoft.Web.LibraryManager.Cli
Package Id Version Commands
microsoft.web.librarymanager.cli 2.1.175 libman
zsh: command not found: libman
2
Answers
I found the solution,
, run this code, you can use libman commands
A solution that worked for me was just adding dotnet tools to my PATH in my .zshrc file.