### Install tccutil with Homebrew Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Install the tccutil utility using the Homebrew package manager. This allows you to run the command simply as 'tccutil'. ```bash brew install tccutil ``` -------------------------------- ### tccutil.py Usage Help Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Display the help message for the tccutil.py script, outlining all available commands and options for modifying TCC preferences. ```bash usage: tccutil.py [-h] [--service SERVICE] [--list] [--digest] [--insert INSERT] [-v] [-r REMOVE] [-e ENABLE] [-d DISABLE] [--user [USER]] [--version] [ACTION] Modify Accesibility Preferences positional arguments: ACTION This option is only used to perform a reset, using "/usr/bin/tccutil". See `man tccutil` for additional syntax optional arguments: -h, --help show this help message and exit --service SERVICE, -s SERVICE Set TCC service --list, -l List all entries in the accessibility database --digest Print the digest hash of the accessibility database --insert INSERT, -i INSERT Adds the given bundle ID or path to the accessibility database -v, --verbose Outputs additional info for some commands -r REMOVE, --remove REMOVE Removes a given Bundle ID or Path from the Accessibility Database -e ENABLE, --enable ENABLE Enables Accessibility Access for the given Bundle ID or Path -d DISABLE, --disable DISABLE Disables Accessibility Access for the given Bundle ID or Path --user [USER], -u [USER] Modify accessibility database for a given user (defaults to current, if no additional parameter is provided) --version Show the version of this script ``` -------------------------------- ### Add Global TCC Entry (UNIX-Style) Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Adds an application to the system-wide Accessibility Database using its UNIX-style path. Requires sudo privileges. ```bash sudo tccutil.py -i /usr/bin/osascript ``` -------------------------------- ### Add Local User TCC Entry (Current User) Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Adds an application to the current user's Accessibility Database. No sudo is required. ```bash tccutil.py -i /usr/bin/osascript -u ``` -------------------------------- ### Add Local User TCC Entry (Specific User) Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Adds an application to a specific user's Accessibility Database. No sudo is required. ```bash tccutil.py -i /usr/bin/osascript -u myuser ``` -------------------------------- ### List Local User TCC Database Entries Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Lists entries in the current user's Accessibility Database. No sudo is required. ```bash tccutil.py --list -u ``` -------------------------------- ### List Global TCC Database Entries Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Lists all existing entries in the system-wide Accessibility Database. Requires sudo privileges. ```bash sudo tccutil.py --list ``` -------------------------------- ### Add Global TCC Entry (Long Option) Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Adds an application to the system-wide Accessibility Database using its long identifier. Requires sudo privileges. ```bash sudo tccutil.py --insert com.apple.ScriptEditor2 ``` -------------------------------- ### Enable Global TCC Entry Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Enables an existing entry in the system-wide Accessibility Database. The entry must already exist. ```bash sudo tccutil.py --enable com.apple.Terminal ``` -------------------------------- ### Reset Global TCC Database Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Resets the entire system-wide accessibility database. Requires sudo privileges. ```bash sudo tccutil.py reset ALL ``` -------------------------------- ### Remove Global TCC Entry Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Removes an application from the system-wide Accessibility Database. Requires sudo privileges. ```bash sudo tccutil.py --remove com.apple.Terminal ``` -------------------------------- ### Disable Global TCC Entry Source: https://github.com/jacobsalmela/tccutil/blob/main/README.md Disables an existing entry in the system-wide Accessibility Database. The entry must already exist. ```bash sudo tccutil.py -d /usr/bin/osascript ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.