# Manage .NET SDK versions on Windows
Visual Studio tends to install new versions of the SDK as it updates and when using the Preview version of Visual Studio, you will also be seeing Release Candidates (RC) being downloaded.
Since the `dotnet` command by default uses the newest installed SDK (including RC) you may need to maintain your installed versions; or [[#Force a specific SDK per solution]].
## List already installed SDKs
```ps
dotnet --list-sdks
```
## Install additional SDKs with Winget
```ps
winget search Microsoft.DotNet.SDK
winget install Microsoft.DotNet.SDK.8
```
## Uninstall redundant SDK
Download MSI: `dotnet-core-uninstall`
[Releases · dotnet/cli-lab (github.com)](https://github.com/dotnet/cli-lab/releases "https://github.com/dotnet/cli-lab/releases")
In Admin Powershell:
```
dotnet-core-uninstall list
dotnet-core-uninstall remove --sdk 8.0.110
```
## Force a specific SDK per solution
Place a `global.json` at the root of your .NET solution
```json
{
"sdk": {
"version": "8.0.401",
"rollForward": "latestFeature"
}
}
```
This file should not be checked into the repo since it limits which SDK your team members and CI are able to use to build this solution.