If you want to draw a box (a simple frame that is using only symbol characters |, = and /) around your text in a terminal output, you can use the following Bash function, that also allows you to use different colors:
And in Windows Powershell you can use the following function: