To be technically correct, it's both a graphics card and a monitor.
Now, you can let a simple open-source CLI module turn any command into a GUI for you instead. That’s the solution Jordanian ...