Cockpit is available on the Python Package Index (PyPI) and can be installed like any other Python package. The short version is "use pip":
pip install microscope-cockpit
Once installed, Cockpit can be started from command line:
cockpit
For details on dependencies, system specific instructions, and installing from development sources see doc/install.rst.