Forrest logo
back to the dotnet tool

dotnet-tool:tldr:38e24

dotnet-tool: List installed global tools (don't use `--global` for local tools).
$ dotnet tool list --global
try on your machine

The command "dotnet tool list --global" is used with the .NET Core CLI (Command-Line Interface) to list tools that have been installed globally.

Here's a breakdown of the command:

  • dotnet: This is the executable file for the .NET Core CLI.

  • tool: This is a subcommand that allows you to manage .NET Core tools.

  • list: This is a subcommand that shows a list of installed tools.

  • --global: This is an option that specifies to list tools that have been installed globally. By default, the "dotnet tool list" command only shows tools installed locally for the current project. Adding the "--global" option extends the search to include globally installed tools.

So, when you run the "dotnet tool list --global" command, it will display a list of tools that have been installed globally on your computer using the .NET Core CLI. These are tools that can be accessed from any project or directory on your system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the dotnet tool