Windows
- Download the latest z3 4.x release (make sure to match your GHC architecture, in my case
z3-4.5.0-x64-win.zip
). - Extract the zip somewhere (
c:\z3-4.5.0-x64-win
) cabal install z3 --extra-include-dirs=c:\z3-4.5.0-x64-win\include --extra-lib-dirs=c:\z3-4.5.0-x64-win\bin
OSX
brew install z3
cabal install z3