Which repo/tool are you using for local text to image diffusion if you don't mind sharing? :)
https://softology.pro/tutorials/tensorflow/tensorflow.htm
It handles (most) of the installation issues and gives you a GUI. You can however bypass the GUI. Every time you run a command the console shows you what the command line looks like so copy/paste into a terminal and away you go.