How do I get the CPU temperature or fan speeds from via terminal or via an Apple API on an M1 MacBook?

Viewed 1644

I tried googling it, but I just found websites that just copy paste each others' content, so basically all of it is "(Intel only)", so I didn't find anything for M1 Macs. There were suggestions using paid apps, but I would be okay just making my own. sudo powermetrics doesn't work either.

1 Answers

I have used menumeters to get the CPU temperature.

install it using brew install menumeters

menumeters - screenshot

Related