Skip to content

Instantly share code, notes, and snippets.

@davidjpfeiffer
Last active December 31, 2021 21:18
Show Gist options
  • Save davidjpfeiffer/13e946a7bdd5d657366adda623a34d66 to your computer and use it in GitHub Desktop.
Save davidjpfeiffer/13e946a7bdd5d657366adda623a34d66 to your computer and use it in GitHub Desktop.
This command allows executable files to be executed via command line in MacOS
# Since MacOS Monterey executable files created by the user are quarantined by default
# Quarantined files will show an "Operation not permitted" message when attempting to execute
# To fix this you must disable the quarantine bit for the file using the following command
sudo xattr -r -d com.apple.quarantine /path-to-file/file.extension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment