Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a convenient way to clear the console while using artisan tinker?

I'd like to be able to clear the console while using artisan tinker much like the way you would use .cls to clear the console while using sqlite3

Os: Windows CLI: Git Bash / Powershell

like image 590
andromeda Avatar asked Oct 26 '25 00:10

andromeda


2 Answers

I use iTerm2 and all you need to do is type:

clear

and it clears the console screen

like image 138
MikeBird Avatar answered Oct 29 '25 01:10

MikeBird


As of 6th July, 21 it does work on the windows console

clear // just type this 

I'm on Windows Terminal using the default Command line and it does work.

like image 39
Koushik Das Avatar answered Oct 29 '25 01:10

Koushik Das



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!