@ChrisWereYep, you can even set up TOTP via the terminal and you get a QR code (with Google's implementation, at least, not familiar with others)
A Mastodon instance for info/cyber security-minded people.