Print Emojis on Bash prompt

How to print Emojis like: :soccer: :christmas_tree: :basketball: in bash with echo command?

Should print like any character with echo. Is it not working for you? Which OS do you use?

On the Mac: Select an emoji from Terminal’s Edit menu > Emoji & Symbols or control-command-space.


Indeed, it’s a bit like asking how to print letters from the alphabet. If there’s a problem then it’s more likely got to do with fonts or expectations.


1 Like