How to run Tribler entirely through CLI?

I was thinking of switching to Ubuntu Server for better performance on my system in general, and the biggest obstacle right now is trying to figure out how to get Tribler to work entirely through CLI. I’ve tried finding answers on the internet and so far nothing is helpful.