
setup-local-sdk
Install a .NET SDK locally for safe preview testing, specific-version pinning
by dotnetFree
Description
setup-local-sdk is an agent skill that guides the installation of a .NET SDK into a project-local .dotnet folder. It is meant for safe preview testing, for pinning a specific SDK version, and for reproducible team setups. The SDK is wired in through the global.json paths feature, which requires .NET 10 or later on the host. The examples use .NET 11, but the skill says the approach works with any version, prerelease or stable. The result is an isolated SDK that does not change the system-wide .NET installation. The dotnet commands pick it up automatically from the project root, and it can be removed to revert the change by deleting the .dotnet folder. The skill also says when not to use it. If you want a system-wide install, it sends you to the official installer. If the host dotnet is older than version 10, the paths setting does not exist, so the agent should explain that and stop. If you need only a runtime, note that the paths setting applies to SDK resolution only. Ask the agent to use it when a project needs a specific SDK without touching the machine it runs on.…
Highlights
- Project-local .NET SDK in a .dotnet folder
- Pinning a specific SDK version for a repo
- No changes to the system-wide .NET install
- Revert by deleting the local .dotnet folder
Ratings & Reviews
No ratings yet
Be the first to rate setup-local-sdk.
People also visit
setup-local-sdk FAQ
What does this skill set up?
A .NET SDK inside the project's own .dotnet folder, wired up with global.json paths, so dotnet commands from the project root use it.
What do I need first?
The skill requires .NET 10 or later on the host, because the paths feature does not exist in older versions.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill setup-local-sdk in your project.
How do I undo it?
Delete the project's .dotnet folder, as the skill describes. The system-wide installation is not changed.
What do the security audits say?
skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Warn for this skill.
What are the best setup-local-sdk alternatives?
Popular alternatives to setup-local-sdk include .NET MCP Server, nuget-manager and dotnet-skills. See all setup-local-sdk alternatives







