If you want to record your Terminal output, here's a helpful answer:<p><a href="https://unix.stackexchange.com/questions/396123/how-to-record-the-pcm-device-from-the-terminal-in-linux" rel="nofollow">https://unix.stackexchange.com/questions/396123/how-to-recor...</a><p>This will let you record from your built-in microphone.<p>If you want to record direct output, download Blackhole and route the audio through the virtual device:
<a href="https://github.com/ExistentialAudio/BlackHole" rel="nofollow">https://github.com/ExistentialAudio/BlackHole</a><p>Audio quality will need a bit of tweaking with gain.