Any one of the following command will install Mktoc.
Use
pip
from the pip package:pip install mktoc --upgrade --user
Download the source distribution file and install from the command line:
tar xzf mktoc-*.tar.gz cd mktoc-* python setup.py install --user
View online docs or :file:`README` for usage instructions.