- dotnetup allows for the installation and management of .NET SDKs and runtimes within user folders, removing the need for administrative privileges.
- The tool supports tracking release channels for automatic updates while allowing specific versions to remain pinned for build consistency.
- It enables the side-by-side coexistence of stable, preview, and daily builds, facilitating easier testing and development workflows.
Setting up a .NET environment on non-Windows systems has historically been a bit of a headache. Developers often found themselves trapped in a confusing maze of system package managers like brew or apt, wrestling with standalone shell scripts, or manually unpacking tarballs. These old-school methods frequently hit a wall when it came to administrative permissions, leaving a messy trail of files across root directories and making the management of multiple runtime versions a genuine chore.
To fix this friction, Microsoft has stepped up with the public preview of dotnetup. This fresh toolchain manager is designed to let you install, update, and swap between .NET SDKs and runtimes directly within your user account. If you’ve ever used rustup for Rust or nvm for Node.js, you’ll feel right at home here, as it brings that same level of streamlined control to the .NET ecosystem, effectively reducing the cognitive load required to get your dev environment humming.
Why Switch to dotnetup?

The main draw here is a consistent user experience regardless of which OS you are running. Because it operates in a non-admin capacity by default, you can avoid the dreaded sudo prompts since everything lives in user-owned folders. This architecture allows for side-by-side runtime management, meaning you can keep preview channels, daily builds, and stable versions installed simultaneously without them clashing.
One of the coolest features is the ability to track intent rather than static versions. Instead of manually hunting for the latest patch, you can follow a major version or a feature band, and the tool handles the updates. That said, it doesn’t ignore the need for stability; it respects project pinning by working seamlessly with your global.json files, ensuring that team builds remain totally deterministic.
Getting Your Environment Ready

Getting started is straightforward via a bootstrap script. For those on macOS using Zsh, a simple curl command to aka.ms is all it takes, while Linux users on Bash and PowerShell users have their own respective one-liners. Once the binary is downloaded, running dotnetup init is the magic step that configures your shell profile and grabs the latest stable SDK.
To see exactly what’s hanging out in your home folder, the dotnetup list command provides a clean inventory of all managed SDKs and runtimes. This transparency makes it easy to keep track of your local footprint without digging through hidden system directories.
Handling Updates and Versioning

Since the .NET team pushes monthly servicing updates for security and quality, staying current is vital. With traditional installs, you might be at the mercy of a system admin, but with dotnetup, a single dotnetup update command does the heavy lifting. This process re-resolves your tracked channels—like “latest” or “10.0”—and pulls the newest matches. It’s worth noting that exact-version pins (like 10.0.3) won’t drift during an update, providing a safety net for specific project requirements.
If you need something more specific, such as the ASP.NET Core runtime, you can target it precisely using dotnetup runtime install [email protected]. A great quality-of-life touch is the automatic cleanup: once an update is done, dotnetup wipes away any components that are no longer required by any of your tracked channels or pins.
Experimenting with Previews and Daily Builds

For the brave souls who want to test bug fixes or new features before they hit the mainstream, preview and daily builds are now first-class citizens. No more manual unpacking of GitHub tarballs or hacking environment variables by hand. You can simply run dotnetup sdk install preview or dotnetup runtime install daily to get these versions running side-by-side with your stable setup. While daily builds aren’t code-signed, they offer an incredible way to verify fixes on the fly.
Comparing dotnetup to Other Options
Some might wonder if the old dotnet-install scripts are still viable. While they can do the job, you lose out on checksum validation, faster multi-version installations, and a unified CLI. Compared to general-purpose managers like mise, dotnetup is tailor-made for the .NET ecosystem. However, users should be aware that Visual Studio might not automatically see these user-local installs, though migration options for machine-wide setups are being explored.
Beyond Local Development
Because it doesn’t require root access and works non-interactively, dotnetup is a perfect fit for CI/CD pipelines. Whether you are using containerized workers or ephemeral agents, you can spin up the exact SDK version you need instantly. The roadmap looks promising, with plans to integrate deeper into GitHub Actions and Azure DevOps and even adding agent skills so AI assistants can manage the toolchain naturally.
While we are focusing on .NET, it’s interesting to see how other hardware ecosystems handle this, such as the nRF Connect Toolchain Manager for Icarus boards, which uses VS Code extensions or nrfutil to manage SDKs in specific directories like /opt/nordic/ncs/. This trend toward dedicated toolchain managers across different languages and platforms shows a clear industry shift toward user-space isolation and version flexibility.
This new approach to .NET management eliminates the friction of administrative rights and manual path editing by centralizing everything in the user directory. By balancing the flexibility of tracking release channels with the rigidity of version pinning, developers can now maintain a lean, updated, and deterministic environment across macOS and Linux without the usual installation headaches.