1. Terminal Permissions
Security and Privacy -> Privacy
If you don't see terminal in the list of apps, you can add it by clicking the "+" button under the list and select terminal from applications -> utilities (refer to image below)
If there's no "+" button, you might have to skip this for now. You might revisit this after you run the macro, as Terminal might show up.
Note that automation doesn't have the "+" button, if you don't see Terminal in this category, add it after you run the macro.
Enable Terminal for these categories:
Full disk access (lets macro access other macro files)
Accessibility (lets macro send keypresses)
Screen recording (lets macro read the screen)
Input Monitoring (lets macro detect keypresses)
If Terminal does not show up there, it should appear after running the macro.
NOTE: On older macOS versions, some of these categories may not show up, which is normal.
Sample for older macOS versions

Sample for newer macOS versions:

Last updated