macOS has a graphical AppStore but no easy way to run an update from command line. There's third-party project - mas[1] but it's limited by Apple constantly changing APIs.
The command line as a concept is not a prerequisite for having some kind of management tool to manage updates for users.
Classic Macintosh systems did not have a user-facing command line at all.