For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Virtualization/openSUSE_Tumbleweed/Virtualization.repo
zypper refresh
zypper install virt-viewer
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Virtualization/15.5/Virtualization.repo
zypper refresh
zypper install virt-viewer
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Virtualization/15.4/Virtualization.repo
zypper refresh
zypper install virt-viewer