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:
If the toolchain version is used by other SDKs, the toolchain is not removed by this command.nrfutil sdk-manager toolchain uninstall --ncs-version v2.6.1