This article applies to: ✔️ .NET Core 3.1 SDK and later versions
Contents
Arguments
• COMMAND_NAME
The command name of the tool to run.
Description
The dotnettoolrun command searches tool manifest files that are in scope for the current directory.
When it finds a reference to the specified tool, it runs the tool. For more information, see Invoke a
local tool.
Dotnet Tool Run
Thisarticleappliesto: ✔️ .NET Core 3.1 SDK and later versions
Name
dotnet-tool-run - Invokes a local tool.
Options
• -?|-h|--help
Prints out a description of how to use the command.
Example
• dotnettoolrundotnetsay
Runs the dotnetsay local tool.
See Also
• .NET tools
• Tutorial: Install and use a .NET local tool using the .NET CLI
2024-10-02 dotnet-tool-run(1)
Synopsis
dotnet tool run <COMMAND NAME>
dotnet tool run -h|--help
