Uninstalling only the SDK or the toolchain

nRF Util

tags
nRF Util

You can use the sdk uninstall or the toolchain uninstall subcommands for managing SDK and toolchains directly to uninstall only the SDK or only the toolchain, respectively.

For example:

  • The following command removes only the v2.6.1 SDK bundle:

    nrfutil sdk-manager sdk uninstall v2.6.1
    
  • The following command removes only the v2.6.1 toolchain bundle:

    nrfutil sdk-manager toolchain uninstall --ncs-version v2.6.1
    
    If the toolchain is used by other SDKs, the toolchain is not removed by this command.
  • The following command removes a specific toolchain bundle by its bundle ID:

    nrfutil sdk-manager toolchain uninstall --toolchain-bundle-id 15b490767d
    
    You can also use the --bundle-id alias for --toolchain-bundle-id.