Calculate updates by command line?

Hi all,
MATE has been my desktop of choice for some time, but recently I’ve been exploring minimalist choices. I have installed fluxbox and am loving it. Several new challenges present themselves, however. One of which is what is the gentoo/calculate terminal command to check for updates and update the system? Sure i can login to mate and do this, but I’d like to learn how to do it from the command line regardless of the DE. And does updating this way take care of any & all DEs i might have installed, or do i have to do it separately for each one? Thanks!

Hi !

Tu update the system, use