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 is used by other SDKs, the toolchain is not removed by this command.nrfutil sdk-manager toolchain uninstall --ncs-version v2.6.1 -
The following command removes a specific toolchain bundle by its bundle ID:
You can also use thenrfutil sdk-manager toolchain uninstall --toolchain-bundle-id 15b490767d--bundle-idalias for--toolchain-bundle-id.