nvidia commands is hanging the linux

when I run any nvidia command the linux hangs. My machine have no graphical interface, only the shell. I downloaded and installed NVIDIA official driver 430 on Debian 10. I’ve to physical reboot the machine after the linux hangs

Please run nvidia-bug-report.sh as root and attach the resulting .gz file to your post. Hovering the mouse over an existing post of yours will reveal a paperclip icon.
You can use the
option in case it’s hanging.