CPPMAN(1)
π CPPMAN(1) β the cppman glow-up π
okay bestie, welcome to the cppman manual page π part of the User Manuals collection, and honestly? she's iconic.
β¨ NAME β¨
cppman β your C++ manual page viewer and fetcher π¦
β¨ SYNOPSIS β¨
cppman [ OPTIONS... ] PAGE...
β¨ DESCRIPTION β¨
So here's the vibe: cppman generates C++ manual pages from cplusplus.com and gives you a man-like interface to view them. That's it, that's the whole thing. π
By default, cppman fetches man pages on-the-fly β like, live, in the moment, main character energy. But if you run the command cppman -c, all available manpages get cached, which makes offline browsing possible. π«Ά This is also required if you want to use the system man command. No cache, no man, no cap.
πΈ Browsing man pages πΈ
cppman uses Vi Improved as a pager. (yes, vim. we love her.)
Press q to leave the pager. Press K on an entry like vector::insert(3) and it links you straight to the manual page of vector::insert β like a hyperlink, fr fr. π₯
π¦ man compatibility π¦
cppman automatically adds $XDG_CACHE_HOME/cppman/man to ~/.manpath, so the cached man pages can also be viewed with the man command. π
Heads up though: to view uncached man pages, you still need to runcppman. Themancommand can't do it for you, sorry babe. π
β¨ OPTIONS β¨
-sSOURCE,--source=SOURCE β Select source, either'cppreference.com'or'cplusplus.com'. Default is'cppreference.com'. π-c,--cache-allβ cache all available man pages from cplusplus.com to enable offline browsing πΎβ¨-C,--clear-cacheβ clear all cached files π§Ή (clean girl era)-fKEYWORD,--find-page=KEYWORD β find man page π-o,--force-updateβ force cppman to update existing cache when--cache-allis used, or when browsing man pages that were already cached π-mMANDB,--use-mandb=MANDB β Accepts'true'or'false'. If true, cppman adds the manpage path to mandb so that you can view C++ manpages with themancommand. The default value is'false'. ποΈ-pPAGER,--pager=PAGER β Select pager to use, accepts'vim','nvim'or'less'. The default value is'vim'. If'nvim'is selected but not available,'vim'is used as a fallback and vice versa. If either is selected, but neither is available,'less'is used as a fallback. π-r,--rebuild-indexβ rebuild index database from cplusplus.com π οΈ-v,--versionβ show version information π-h,--helpβ show this help message and exit π
β¨ NOTE β¨
All contents should be cached by the user β cppman does not contain any preβcached contents. You gotta put in the work, bestie. πͺ
Do NOT distribute the cached man pages without the permission of cplusplus.com. Like, seriously. That's a hard no. π«
β¨ BUGS β¨
Although I spend a lot of time checking the format, there are still pages that won't display correctly. π she's trying her best, okay?
Feel free to report bugs at:
https://github.com/aitjcize/cppman/issuesormailto:aitjcize@gmail.com.
Please include the page name in the bug report. π (this part is literally so important, don't skip it)
β¨ AUTHOR β¨
WeiβNing Huang (AZ) <aitjcize@gmail.com> π
and that's the whole page, periodt. π
cute little sign-off time: this one's from the Linux manual, dated MAY 2010, and it's page CPPMAN(1). Yes bestie, 2010 β she's vintage, she's timeless, she ate. π β¨π¦
π¦ where this page comes from
- debian bookworm: cppman 0.5.4+dfsg1-2 Β· GPL-3.0-or-later
- debian trixie: cppman 0.5.7+dfsg-2 Β· GPL-3.0-or-later
- nixos 26.05: cppman 0.5.9
- nixpkgs unstable: cppman 0.5.9
- ubuntu jammy: cppman 0.5.3+dfsg1-1 Β· GPL-3.0-or-later
- ubuntu noble: cppman 0.5.6+dfsg-1 Β· GPL-3.0-or-later
- ubuntu questing: cppman 0.5.7+dfsg-2
- ubuntu resolute: cppman 0.5.9+dfsg-2 Β· GPL-3.0-or-later
- ubuntu stonking: cppman 0.5.9+dfsg-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms