Repost :
In any case, run this command, then log out and log back in again, and all of the text on your screen will look better:
defaults -currentHost write -g AppleFontSmoothing -int 0
…unless you use a low density external display that benefits from subpixel antialising.
— Adam Wathan (@adamwathan) August 16, 2023