You can ran them wherever you want (on any linux distro booted on that machine). This commands create new entry on your efi partition using tool called efibootmgr. But on that guide deoracted file is mentioned. For Qubes 4.1 You should use
grubx64.efi