Is there any way to view real time fan speed and thermal information (CPU, GPU) through the terminal, such as by installing an application with homebrew (i.e. $ brew install ...) or python (i.e. $ pip install ...)?
I found the threads below:
Using terminal to get current fan speed?
Can I get the CPU temperature and fan speed from the command line in OS X?
However the suggestions for terminal applications (such as istats) only give static information (not real time dynamically update information).
There is a github repo called lm-sensors which was designed for linux, however this repo has not been updated in a while and I was not able to install it properly after cloning the git. After I run the Make file, I get errors about header files being missing.
I am running OS X 10.15.4 (Catalina).

lm-sensorsa try. – NM_ May 16 '20 at 18:10