For More Information : https://ocom5com.blogspot.com/
Video with only the important parts edited
./qemu-img create -f qcow2 -o preallocation=full win10.qcow2 20G
./qemu-system-x86_64 -drive file=./win10.qcow2 -cdrom ~/Downloads/Win10_22H2_English_x64.iso -m 4096 --enable-kvm
./qemu-system-x86_64 -drive file=./win10.qcow2 -m 4096 --enable-kvm