Microsoft Previews dotnetup Toolchain Manager for .NET
New cross-platform tool simplifies SDK and runtime management for .NET developers.
1Toolchain Management Evolution
Microsoft introduced dotnetup, a cross-platform toolchain manager designed to handle .NET SDKs and runtimes. Announced by Chet Husk on October 15, the tool follows the operational model established by rustup and nvm. It allows developers to manage installations within user-specific directories rather than relying on system-managed locations like Program Files.
2Intent-Based Versioning Logic
The tool tracks developer intent rather than specific version strings. Users request channels such as latest, lts, or preview, which dotnetup resolves to specific releases. This approach keeps exact versions pinned during updates while ensuring team builds remain deterministic by reading the nearest global.json file within the project directory structure.
3Installation and Access Modes
Installation begins with a bootstrap script fetched from aka.ms, verifying the binary via SHA-512 checksum. The tool offers three access modes: none, shell, and everywhere. The Windows-only everywhere mode modifies the system PATH, potentially overriding machine-wide installations, which necessitates careful migration of existing SDKs to avoid build failures in Visual Studio.
4Automated Servicing and Cleanup
Monthly servicing is streamlined into a single dotnetup update command, which re-resolves tracked channels and installs the latest matching versions. The tool automatically removes components that are no longer required by any tracked project. This lifecycle management covers the SDK, .NET runtime, ASP.NET Core runtime, and the Windows Desktop runtime components.
5Side-by-Side Preview Support
Developers can install preview and daily builds alongside stable versions using specific CLI commands. While daily builds currently lack code-signing, the tool provides a unified CLI surface across platforms. This capability improves upon traditional dotnet-install scripts by offering signature validation, component tracking, and significantly faster multi-version installation processes for complex environments.
6Future Roadmap and Integration
The roadmap includes implementing admin-level installs on Windows and replacing script-based logic in GitHub Actions and Azure DevOps tasks. Microsoft also plans to develop agent skills, allowing AI assistants to utilize dotnetup by default. These updates aim to integrate the tool deeply into modern CI/CD pipelines and automated development workflows.
7Community Feedback and Concerns
Initial community reaction on r/dotnet highlighted concerns regarding the curl-to-shell bootstrap method and the lack of native package manager support like apt or Homebrew. Developers also questioned the tool's value proposition compared to existing alternatives like mise. Microsoft responded by confirming that official package manager support is planned following user validation.
8Strategic Implications for Architects
For architects, dotnetup represents a shift toward user-space environment management, reducing dependency on system-level permissions. By isolating SDKs from Visual Studio's machine-wide installs, teams can achieve greater consistency across diverse developer machines. However, production environments should continue using standard installers until the tool matures beyond its current public preview status.
Original article: InfoQ — Microsoft Previews dotnetup Toolchain Manager for .NET