I got an image on terminal from the output of homebrew package manager
That would be an emoji. You can insert them anywhere by clicking Edit > Special Characters > Emoji. The beer one is under the Objects subcategory.