Prerequisites
- Complete the first tutorial of this series.
- .NET 10.0.100 SDK or later (for
dnx) – optional but recommended.
Run the tool directly using dnx (simplified syntax):
dnx dotnet-env --add-source ./nupkg
The --add-source parameter tells the .NET CLI to use the ./nupkg directory as an additional source feed for NuGet packages when the tool isn’t available on NuGet.org.
In this tutorial, you installed and used a tool as a global tool. For more information on installing and using global tools, see Managing global tools. To install and use the same tool as a local tool, advance to the next tutorial.
