How to Rotate Display with terminal in Vim4

Vim4, Ubuntu 22.04 emmc

I can change the orientation with Dislplay in the Settings section. but I need to do this with terminal.
It says that I can rotate left with xrandr -o left in Ubuntu, but I think it is different for Khadas. I cannot rotate the screen using the same command in khadas vim4.
How to rotate display with terminal?