brew install wine

C++
brew install --cask wine-stablebrew doctor

Source

Also in C++: