Shell /command line

Hi Piwik community
My data base is to big, so I have to do the latest update via the shell / command line. But I didn’t find any hint how and where to open it? Can anybody help me?
Greetings
Klaus