Use the nrfutil sdk-manager list command to list all installed SDK and toolchain versions.
nrfutil sdk-manager list