aitjcize/cppman

C++ 98/11/14 manual pages for Linux/MacOS

Python

1,440

486 commits

updated Sep 18, 2026

See the code

README

.. image:: http://img.shields.io/pypi/v/cppman.svg?style=flat
   :target: https://pypi.python.org/pypi/cppman
.. image::  https://img.shields.io/github/downloads/aitjcize/cppman/total.svg
   :target: https://pypi.python.org/pypi/cppman#downloads

cppman
======
C++ manual pages for Linux, with source from `cplusplus.com <http://cplusplus.com/>`_ and `cppreference.com <https://cppreference.com/>`_, supporting all C++ versions provided by the sources.

.. image:: https://raw.github.com/aitjcize/cppman/main/wiki/screenshot.png

Features
--------
* Supports two backends (switch it with ``cppman -s``):

  + `cplusplus.com <http://cplusplus.com/>`_
  + `cppreference.com <http://cppreference.com/>`_

* Syntax highlighting support for sections and example source code.
* Usage/Interface similar to the 'man' command
* Hyperlink between manpages (only available when pager=vim)

  + Press ``Ctrl-]`` when cursor is on keyword to go forward and ``Ctrl-T`` to go backward.
  + You can also double-click on keyword to go forward and right-click to go backward.

* Frequently update to support `cplusplus.com <http://cplusplus.com/>`_.

Demo
----
Using vim as pager

.. image:: https://raw.github.com/aitjcize/cppman/main/wiki/demo.gif

Installation
------------
1. Install from PyPI:

.. code-block:: bash

    $ pip install cppman

Note that cppman requires Python 3. Make sure that either ``pip`` is configured for Python 3 installation, your default Python interpreter is version 3 or just use ``pip3`` instead.

2. Arch Linux users can find it on AUR or using `Trizen <https://wiki.archlinux.org/title/Trizen>`_:

.. code-block:: bash

    $ trizen -S cppman

or install the git version

.. code-block:: bash

    $ trizen -S cppman-git

3. Debian / Ubuntu: cppman is available in Debian sid/unstable and Ubuntu vivid.

.. code-block:: bash

    $ sudo apt-get install cppman

4. MacOS X: cppman is available in Homebrew and MacPorts.

.. code-block:: bash

    $ brew install cppman

or

.. code-block:: bash

    $ sudo port install cppman

Package Maintainers
-------------------
* Arch Linux: myself
* Debian: `czchen <https://github.com/czchen>`_
* MacPorts: `eborisch <https://github.com/eborisch>`_

FAQ
---
* Q: Can I use the system ``man`` command instead of ``cppman``?
* A: Yes, just execute ``cppman -m true`` and all cached man pages are exposed to the system ``man`` command.  Note: You may want to download all available man pages with ``cppman -c``.
* Q: Why is bash completion is not working properly with ``::``?
* A: It is because bash treats ``:`` like a white space. To fix this add ``export COMP_WORDBREAKS="${COMP_WORDBREAKS//:}"`` to your ``~/.bashrc``.

Bugs
----
* Please report bugs / mis-formatted pages to the github issue tracker.

Contributing
------------
1. Fork it
2. Create your feature branch (``git checkout -b my-new-feature``)
3. Commit your changes (``git commit -am 'Add some feature'``)
4. Push to the branch (``git push origin my-new-feature``)
5. Create new Pull Request

Support
-------

If you find this project useful, consider buying me a coffee! ☕

.. image:: https://img.shields.io/badge/Buy%20Me%20A%20Coffee-ffdd00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black
   :target: https://buymeacoffee.com/aitjcize
   :alt: Buy Me A Coffee

Notes
-----
* manpages-cpp is renamed to cppman since September 19, 2012

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

aitjcize/cppman

C++ 98/11/14 manual pages for Linux/MacOS

Python

1,440

486 commits

updated Sep 18, 2026

See the code

README

.. image:: http://img.shields.io/pypi/v/cppman.svg?style=flat
   :target: https://pypi.python.org/pypi/cppman
.. image::  https://img.shields.io/github/downloads/aitjcize/cppman/total.svg
   :target: https://pypi.python.org/pypi/cppman#downloads

cppman
======
C++ manual pages for Linux, with source from `cplusplus.com <http://cplusplus.com/>`_ and `cppreference.com <https://cppreference.com/>`_, supporting all C++ versions provided by the sources.

.. image:: https://raw.github.com/aitjcize/cppman/main/wiki/screenshot.png

Features
--------
* Supports two backends (switch it with ``cppman -s``):

  + `cplusplus.com <http://cplusplus.com/>`_
  + `cppreference.com <http://cppreference.com/>`_

* Syntax highlighting support for sections and example source code.
* Usage/Interface similar to the 'man' command
* Hyperlink between manpages (only available when pager=vim)

  + Press ``Ctrl-]`` when cursor is on keyword to go forward and ``Ctrl-T`` to go backward.
  + You can also double-click on keyword to go forward and right-click to go backward.

* Frequently update to support `cplusplus.com <http://cplusplus.com/>`_.

Demo
----
Using vim as pager

.. image:: https://raw.github.com/aitjcize/cppman/main/wiki/demo.gif

Installation
------------
1. Install from PyPI:

.. code-block:: bash

    $ pip install cppman

Note that cppman requires Python 3. Make sure that either ``pip`` is configured for Python 3 installation, your default Python interpreter is version 3 or just use ``pip3`` instead.

2. Arch Linux users can find it on AUR or using `Trizen <https://wiki.archlinux.org/title/Trizen>`_:

.. code-block:: bash

    $ trizen -S cppman

or install the git version

.. code-block:: bash

    $ trizen -S cppman-git

3. Debian / Ubuntu: cppman is available in Debian sid/unstable and Ubuntu vivid.

.. code-block:: bash

    $ sudo apt-get install cppman

4. MacOS X: cppman is available in Homebrew and MacPorts.

.. code-block:: bash

    $ brew install cppman

or

.. code-block:: bash

    $ sudo port install cppman

Package Maintainers
-------------------
* Arch Linux: myself
* Debian: `czchen <https://github.com/czchen>`_
* MacPorts: `eborisch <https://github.com/eborisch>`_

FAQ
---
* Q: Can I use the system ``man`` command instead of ``cppman``?
* A: Yes, just execute ``cppman -m true`` and all cached man pages are exposed to the system ``man`` command.  Note: You may want to download all available man pages with ``cppman -c``.
* Q: Why is bash completion is not working properly with ``::``?
* A: It is because bash treats ``:`` like a white space. To fix this add ``export COMP_WORDBREAKS="${COMP_WORDBREAKS//:}"`` to your ``~/.bashrc``.

Bugs
----
* Please report bugs / mis-formatted pages to the github issue tracker.

Contributing
------------
1. Fork it
2. Create your feature branch (``git checkout -b my-new-feature``)
3. Commit your changes (``git commit -am 'Add some feature'``)
4. Push to the branch (``git push origin my-new-feature``)
5. Create new Pull Request

Support
-------

If you find this project useful, consider buying me a coffee! ☕

.. image:: https://img.shields.io/badge/Buy%20Me%20A%20Coffee-ffdd00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black
   :target: https://buymeacoffee.com/aitjcize
   :alt: Buy Me A Coffee

Notes
-----
* manpages-cpp is renamed to cppman since September 19, 2012

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Project health

Overall

3.5/10

Maintained

10/10

Code review

1/10
OpenSSF Scorecard

PyPI

Latest release

0.6.3 · Jul 27, 2026

Releases this year

3

Significant stargazers

Shohei YOSHIDA

796 followers · starred Apr 2020

Fangrui Song

3,279 followers · starred Sep 2010

Kito Cheng

277 followers · starred Jun 2014

Ryan Roden-Corrent

38 followers · starred Aug 2020