Some older applications or plugins may need to run in x86 compatibility mode.
Also Update Command Line Tools:
Open Terminal and run:
xcode-select --install
as for permissions, go to System Preferences > Security and privacy > Privacy
In Full Disk Access, Files and Folders and Accessibility, add the application if it’s not already listed. Make sure that Terminal and any other shell/IDE you use have proper permissions