Thanks for downloading BitBucket.

To install it, make sure you have Python 2.2+ installed. Then run this command:

python setup.py install

A detailed tutorial can be found in the README file.