Apple added the ability to use Touch ID for sudo on the command line interface back in 2017 with High Sierra.
Since that time there have been numerous scripts published to make enabling this feature easier.
So with apologies to the United States Marine Corps…
This is my script. There are many like it, but this one is mine.
Read on for the details.