Offical guide: How to remove the .NET Core Runtime and SDK


  1. Use
    dotnet --info

    command to check the dotnet sdk version you are currently using, it will list all the installed dotnet SDKs in your computer.

    • You can also use
      dotnet --list-sdks


      dotnet --list-runtimes

      to list sdks and runtimes separately.

  2. Once you decided which version to be removed, execute command
    #remove sdk
    sudo rm -rf /usr/local/share/dotnet/sdk/[version number here]
    #remove .NET Core runtime
    sudo rm -rf /usr/local/share/dotnet/shared/Microsoft.NETCore.App/[version number here]
    #remove ASP.NET Core runtime
    sudo rm -rf /usr/local/share/dotnet/shared/Microsoft.AspNetCore.App/[version number here]
    #I actually don't know what is in this directory
    sudo rm -rf /usr/local/share/dotnet/host/fxr/[version number here]

    to remove the sepecific SDK or runtime.

I just tried NiceHash OS on MacBook and didn’t test the main mining function. This article only talks about how to install the OS then has a slight glimpse of it.

Before anything happens, it’s necessary to clarify that the whole public Beta thing does not contain real money transfer. In other words, if you set the mining address to the Beta wallet address, you will receive TBTC(Test BTC) instead of real BTC, you will not get any profit from it. For more information, check the official announcement here.




  1. First, burn the image into the flash drive.
    • Plug the flash drive in.
    • Open Etcher, select NiceHash OS, then select the USB drive, start burning.
    • This is quite like burning Raspberry Pi OS to a SD card, I think Win32DiskImager in Windows can do the same job.
  2. Before we boot from the flash drive, we need to configure the OS.
    • Open the “configuration.txt” file in the “NHOS” drive.
    • Modify “btc”, “worker” and “group” value in the “rig” section.
    • If you want to get access to the mining machine through SSH, you need to modify the “access” section.
    • If you are using wifi network, you also need to fill your wifi ssid and password into the “network” section.
    • All of these are optional except the “btc” value.
  3. Reboot your computer, then enter the Boot menu(Different motherboards have different ways, generally, you can press F2, F11, F12 or Del key to enter the menu. For my situation(MacBook), it’s pressing the option/alt key.).
  4. Select the USB device, then enter the OS.The big logo shows up.
  5. It takes a few minutes for the system to load files, then you enter the CLI, type “nhos” to login(no password needed).
  6. The NiceHash OS is based on TinyCore Linux distro, you can use basic commands that inherited from Linux, such as “ls”, “cat”, “cd”, etc.
    Another thing to mention, NiceHash OS is running from computer’s memory, it’s like all the other Linux distros’ live CD mode. Nothing will last if you reboot the system, except ones in /mnt/nhos directory.

    • The system log is in /var/log/nhos directory.

I didn’t do further operation in the system, the user guide shows that there’s a config file if you want to OC your GPU and choose the proper mining algorithm. Also, if you want to report bug to NiceHash, you can use nhos_system_dump_save to generate system dump file and nhos_system_dump_push to generate dump file and push it to NiceHash.