A vfox / mise plugin for managing .NET SDK versions.
- Dynamic version fetching: Automatically fetches available versions from Microsoft's official API
- Always up-to-date: No static version list to maintain
- Supports all .NET versions: Including previews, LTS, and STS releases
- Cross-platform: Works on Linux, macOS, and Windows
- Legacy file support: Reads version from
global.json
mise install dotnet@latest
mise install dotnet@9.0.309
mise install dotnet@8.0.404vfox add dotnet
vfox install dotnet@latest# List all available versions
mise list-all dotnet
# Install a specific version
mise install dotnet@9.0.309
# Set global version
mise use -g dotnet@9.0.309
# Set local version (creates .mise.toml)
mise use dotnet@8.0.404This plugin sets the following environment variables:
PATH- Adds the .NET SDK directory to PATHDOTNET_ROOT- Points to the .NET SDK installation directory
The plugin automatically reads .NET SDK version from global.json files:
{
"sdk": {
"version": "8.0.100"
}
}This plugin fetches version information directly from Microsoft's official release metadata API:
- releases-index.json - Index of all .NET channels
- Per-channel release data (e.g.,
10.0/releases.json,9.0/releases.json)
Installation uses Microsoft's official dotnet-install.sh (or dotnet-install.ps1 on Windows) script.
MIT License - see LICENSE for details.