say
Use say to make your Mac speak a phrase.
The Mac Terminal command for text-to-speech is say. You type the command followed by the text you want the computer to speak.
Basic Usage to speak a phrase with Bash: say -v Alex "Hello, world!"
This will make your Mac speak the phrase "Hello, world!" using the default system voice.
