xtitle

Set window title and icon for your X terminal

brewmacoslinux
Try with needOr install directly
Source

About

Set window title and icon for your X terminal

Commands

xtitle

Examples

Display the current window title$ xtitle
Set window title to 'My Project'$ xtitle 'My Project'
Set both window title and icon name$ xtitle -t 'Window Title' -i 'Icon Name'