Last Updated: February 25, 2016
·
1.405K
· gabrielfalcao

Drawing cool ASCII art text with figlet

Whether you want to write

 ______     ______     ______     __        
/\  ___\   /\  __ \   /\  __ \   /\ \       
\ \ \____  \ \ \/\ \  \ \ \/\ \  \ \ \____  
 \ \_____\  \ \_____\  \ \_____\  \ \_____\ 
  \/_____/   \/_____/   \/_____/   \/_____/ 

 ______     ______   __  __     ______   ______  
/\  ___\   /\__  _\ /\ \/\ \   /\  ___\ /\  ___\ 
\ \___  \  \/_/\ \/ \ \ \_\ \  \ \  __\ \ \  __\ 
 \/\_____\    \ \_\  \ \_____\  \ \_\    \ \_\   
  \/_____/     \/_/   \/_____/   \/_/     \/_/   

like this or fancy words

:::       ::::::::::::::    ::::::::::::: 
:+:           :+:    :+:   :+: :+:        
+:+           +:+    +:+  +:+  +:+        
+#+           +#+    +#++:++   +#++:++#   
+#+           +#+    +#+  +#+  +#+        
#+#           #+#    #+#   #+# #+#        
########################    ############# 
::::::::::::::    ::::::::::::::::::::::  
    :+:    :+:    :+:    :+:   :+:    :+: 
    +:+    +:+    +:+    +:+   +:+        
    +#+    +#++:++#++    +#+   +#++:++#++ 
    +#+    +#+    +#+    +#+          +#+ 
    #+#    #+#    #+#    #+#   #+#    #+# 
    ###    ###    ######################  

like that, you can install figlet

in mac:

brew install figlet

and download fonts from their huge font library

the usage is simple:

figlet -w [number of columns] -f /path/to/font.flf your text here

example:

figlet -w 120 -f ~/Downloads/broadway.flf