How to Use TouchID for Sudo Commands on macOS

If you are a developer or power user on a Mac, you probably type your password into the terminal dozens of times a day using sudo . If your Mac has a TouchID sensor, you can save time and keystrokes by configuring your terminal to accept your fingerprint instead of your password. Here is a quick guide on how to set it up.