dver

Crates.iodver
lib.rsdver
version0.2.0
created_at2024-08-08 14:58:07.798628+00
updated_at2025-08-30 16:40:09.393545+00
descriptionCLI tool for managing .NET SDK versions, including installation and version switching.
homepagehttps://github.com/stescobedo92/dotnet-version-manager
repositoryhttps://github.com/stescobedo92/dotnet-version-manager
max_upload_size
id1329634
size54,183
Sergio Triana Escobedo (stescobedo92)

documentation

README

.NET Version Manager (dver)

dver is a command-line tool to simplify managing multiple .NET SDK versions on your system. Inspired by nvm and sdkman, it provides an easy way to install, uninstall, and switch between .NET SDK versions.

Features

  • current: Check the currently active .NET SDK version.
  • list: View all installed .NET SDK versions.
  • use: Switch to a different .NET SDK version for your project by creating a global.json file.
  • install: Install new .NET SDK versions, including LTS, specific versions, or versions from a specific channel.
  • uninstall: Remove specific .NET SDK versions.
  • doctor: Check your system for common configuration issues.

Why It Matters

In .NET development, different projects often require different SDK versions. dver helps you:

  1. Ensure Consistency: Keep your team on the same .NET SDK version.
  2. Switch with Ease: Quickly switch between .NET versions for different projects.
  3. Simplify Setup: Easily set up new development environments.
  4. Control Versions: Specify and control the exact .NET SDK version for each project.

Installation

You can download the latest release for your operating system from the Releases page.

Getting Started

After installing dver, it's recommended to run the doctor command to ensure your environment is set up correctly.

dver doctor

The doctor command will check if the .NET SDK installation directory is in your PATH and provide instructions on how to add it if it's missing. This is crucial for the dotnet command to find the SDKs installed by dver.

Usage

install

Install a specific .NET SDK version.

dver install --version 8.0.406

Install the latest Long-Term Support (LTS) version.

dver install --lts

By default, dver installs SDKs to the standard user-level location (~/.dotnet on Linux/macOS, %LOCALAPPDATA%\Microsoft\dotnet on Windows).

list

List all installed .NET SDK versions.

dver list

use

Set the .NET SDK version for the current directory by creating a global.json file.

dver use 8.0.406

uninstall

Uninstall a specific .NET SDK version.

dver uninstall --version 8.0.406

Uninstall all SDKs of a major version (e.g., all .NET 8 versions).

dver uninstall --version 8

Uninstall all installed .NET SDKs.

dver uninstall --all

current

Display the currently active .NET SDK version.

dver current

doctor

Run checks to diagnose common issues with your environment.

dver doctor
Commit count: 19

cargo fmt