brew install wine brew install winetricks winetricks ie8
This installs ie8. You can then run it with:
wine 'C:\Program Files\Internet Explorer\iexplore'
It's pretty buggy, though... both ie7 and ie6 run better.
Using 2 different versions together
IE doesn't let you install two versions together. To work around this, you'll need to install them into different
export WINEPREFIX=~/.wine/prefixes/ie8 mkdir -p ~/.wine/prefixes/ie8 winetricks ie8
And run that version with:
export WINEPREFIX=~/.wine/prefixes/ie8 wine 'C:\Program Files\Internet Explorer\iexplore'
...ie6 and ie7 work the same, just change
8 to the version number you want.