For advanced users running older versions of macOS, you can use the command-line tool:

(Applications → Utilities → Terminal).

Apple maintains a support article that provides a direct App Store link. Here is the precise workflow: