Running dietpi-update and dietpi-launcher as user dietpi

Is it okay to run these two commands when logged in as user dietpi or should I run them when logged in as root? If it’s okay to run them as dietpi, should I add sudo before the commands? Thanks.

you can use user dietpi, but there you would need to use sudo to gain admin rights.

If it helps, to make things slightly easier, I use an alias for ‘sudo dietpi-launcher’ when logged in as dietpi as I’m always forgetting to prefix with sudo.

Actually, sudo is not required anymore since a while. DietPi scripts internally (attempt to) reexec themselves via sudo, if required, and not root already. In the console scrollback buffer, you should see a related line:

[ INFO ] Root privileges required. Retrying with sudo: ...