setup-local-sdk

Installation
SKILL.md

setup-local-sdk

Purpose

Guide the user through installing a .NET SDK into a project-local .dotnet/ directory and wiring it up via the global.json paths feature (.NET 10+). The examples use .NET 11, but this works with any version — prerelease or stable.

The result is a fully isolated SDK that:

  • Does not modify the system-wide .NET installation.
  • Is picked up automatically by dotnet commands from the project root.
  • Can be deleted to revert (rm -rf .dotnet/ or Remove-Item -Recurse -Force .\.dotnet).

When NOT to use

  • User wants a system-wide install — direct to the official installer.
  • Host dotnet is older than v10paths doesn't exist; explain and stop.
  • User needs a runtime-only install — paths applies to SDK resolution only.
Installs
12
Repository
dotnet/skills
GitHub Stars
3.5K
First Seen
4 days ago
setup-local-sdk — dotnet/skills