On a mobile phone it's super easy. Long press the hyphen button and swipe over to the dash.
On Mac it's pretty easy still, but requires a little more knowledge. Option-shift-dash. (Without the shift gives you an en dash.)
On Windows it's the completely arcane alt-0151, and only possible if you have a numpad. I memorised it like 15 years ago and have regularly used it since, but it's hard to blame people for not doing so.
No idea about Linux.