Could someone update the article? There's a proper screenshot tool in Mac OS.
Here's the official support article (please link it as well): https://support.apple.com/en-gb/guide/mac-help/mh26782/mac
tl;dr:
- press Shift-Command-5 (or use Launchpad) to open Screenshot and display the tools
- To take picture using a keyboard shortcut: Capture the entire screen — Press Shift-Command-3.