You can simply install Mars via pip:
pip install pymars
Install Mars distributed by run:
pip install 'pymars[distributed]'
For now, distributed version is only available for Linux and Mac OS.