How to manually install apps?

How can I manually install apps through SSH?

Nothing? More context - when I try to install an app, it says “Installing” really quickly and then turns off without installing