Cepheus
Cepheus

Reputation: 4913

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

Upvotes: 4

Views: 3956

Answers (3)

rajeshtva
rajeshtva

Reputation: 570

i use ubuntu and i press CTRL + L to clean console. whether it is tinker or not

Upvotes: 0

Koushik Das
Koushik Das

Reputation: 10813

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.

Upvotes: 3

MikeBird
MikeBird

Reputation: 396

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

clear

and it clears the console screen

Upvotes: 7

Related Questions