dotnet-tool-run(1)

πŸ“¦
version 11.0.0~rc3 Β· 6 versions
, in alpine 3.24, centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ dotnet-tool-run ✨

okay so bestie, welcome to the dotnet-tool-run(1) page β€” yes it's a manual page, yes it's from the .NET Documentation, and yes we're gonna make it cute. πŸ’–

This article applies to: βœ”οΈ .NET 6 SDK and later versions

🌸 NAME 🌸

dotnet-tool-run β€” it invokes a local tool. that's it. that's the whole job. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

dotnet tool run <COMMAND NAME> [--allow-roll-forward]

dotnet tool run -h|--help

πŸŽ€ DESCRIPTION πŸŽ€

so like, dotnet tool run goes looking through the tool manifest files that are in scope for whatever directory you're currently standing in. 🧚

the moment it finds a reference to the tool you asked for, it runs it. periodt. πŸ”₯

want the full lore? go read Invoke a local tool. iykyk. πŸ“–


πŸ“ ARGUMENTS πŸ“

  • COMMAND_NAME β€” the command name of the tool you wanna run. just tell it the name, bestie. 🫢

πŸ’œ OPTIONS πŸ’œ

  • --allow-roll-forward β€” available starting with .NET 9.0 SDK. lets the tool use a newer version of the .NET runtime if the runtime it targets isn't installed. it's giving "i'll make it work" energy. 🌈
  • -? | -h | --help β€” prints out a description of how to use the command. your little cheat sheet. πŸ‘‘

⭐ Example ⭐

  • dotnet tool run dotnetsay

runs the dotnetsay local tool. slay. ✨

  • dotnet tool run dotnetsay --allow-roll-forward

runs the dotnetsay local tool and allows it to run on newer .NET versions if the target runtime isn't available. flexible queen behavior. πŸ’–


🌈 SEE ALSO 🌈

  • .NET tools
  • Tutorial: Install and use a .NET local tool using the .NET CLI

mwah πŸ’‹ that's the whole page β€” and this lil manual is from 2025-10-30, filed under dotnet-tool-run(1). go run your local tools, bestie, you got this πŸ¦‹πŸ’…

πŸ“¦ where this page comes from