Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e8c7d7a4de
Fetching contributors…

Cannot retrieve contributors at this time

executable file 24 lines (14 sloc) 0.972 kb

cmd2 can be installed from PyPI by easy_install or pip.

Development trunk can be downloaded with mercurial:

hg clone

To install from the trunk, cd python-cmd2 and run python install or python develop (requires setuptools). (Use root account, or sudo, on *nix.)

Python 3

The Python 3 egg downloaded from PyPI or installed by pip or easy_install is ready to go.

To install from source for Python 3, the 2to3 transformations must be applied to The best way to do this is to install distribute on Python 3 before installing cmd1:

curl -O
sudo python3

sudo python3 install

2to3 won't run if there's a build directory that's newer than your source code. Deleting the cmd2/build directory before running ensures that this won't be a problem.

Jump to Line
Something went wrong with that request. Please try again.