dotnet-tool-list(1) | .NET Documentation | dotnet-tool-list(1) |
This article applies to: ✔️ .NET Core 3.1 SDK and later versions
dotnet-tool-list - Lists all .NET tools of the specified type currently installed on your machine.
dotnet tool list -g|--global dotnet tool list --tool-path <PATH> dotnet tool list --local dotnet tool list [<PACKAGE_ID>] dotnet tool list dotnet tool list -h|--help
The dotnet tool list command provides a way for you to list .NET global, tool-path, or local tools installed on your machine. The command lists the package name, version installed, and the tool command. To use the command, you specify one of the following:
Lists the tool that has the supplied package ID if the tool is installed. Can be used in conjunction with options. Provides a way to check if a specific tool was installed. The command returns 1 if no tool with the specified package ID is found; returns 0 otherwise.
Lists user-wide global tools. Can’t be combined with the --tool-path option. Omitting both --global and --tool-path lists local tools.
Prints out a description of how to use the command.
Lists local tools for the current directory. Can’t be combined with the --global or --tool-path options. Omitting both --global and --tool-path lists local tools even if --local is not specified.
Specifies a custom location where to find global tools. PATH can be absolute or relative. Can’t be combined with the --global option. Omitting both --global and --tool-path lists local tools.
Lists all global tools installed user-wide on your machine (current user profile).
Lists the global tools from a specific Windows directory.
Lists the global tools from a specific Linux/macOS directory.
Lists all local tools available in the current directory.
Lists the global tool with the package id dotnetsay (https://www.nuget.org/packages/dotnetsay/)
Lists the local tool with the package id dotnetsay (https://www.nuget.org/packages/dotnetsay/)
2023-10-25 |