How to clear local storage from command line?

I am trying to test this application and to do that I need to clear the storage, is it even possible from command line?

From the command line, no, it is not possible.
But you could use

localStorage.clear();

To clear it from your app