Skip to main content

Delete previous versions of .Net Core and its runtime files.

Project description

Uninstall .Net Core SDK and Runtime

Uninstall previous .Net Core SDK's and its runtime files.

Note: You might need super user account to use this library.


pip install dot-net-core-uninstaller


There are to ways to use this:

Using Command Line Interface (recommended)

Usage: dotnetcore [OPTIONS] COMMAND [ARGS]...

  --version  Show version and exit.
  --help     Show this message and exit.

  list    List all the version of .Net Core installed.
  remove  Remove the version of .Net Core.

To list all installed .Net Core libraries

> dotnetcore list

Using with POSIX systems

To remove a version of .Net Core SDK or Runtimes:

> dotnetcore remove --sdk 1.0.0
> dotnetcore remove --runtime 1.0.0

Using with Windows systems

Note: Windows doesn't support removing runtime libraries individually from the uninstaller.

To remove a version of .Net Core SDK or Runtime:

> dotnetcore remove --sdk 1.0.0

Using as a Module

from dot_net_core_uninstaller import Uninstaller

remove_dotnet = Uninstaller()
remove_dotnet.delete_runtime("1.0.0")  # Does not work on Windows
remove_dotnet.delete_sdk("1.0.0")  # Does not work on Windows
remove_dotnet.delete_sdk_runtime_windows("1.0.0")  # Does not work on POSIX

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dot-net-core-uninstaller, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size dot_net_core_uninstaller-0.3.0-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dot-net-core-uninstaller-0.3.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page