1 # Add a user to a group from the command line
   2 sudo dseditgroup -o edit -a $username_to_add -t user $group_to_be_added_to

https://github.com/phracker/MacOSX-SDKs: Archived versions of macOS SDKs.

Downloads for Apple developers