This gist shows how to set up batman, a shell function, to render man pages in markdown with LLM-Now.
- Install LLM-Now using
brew install swartzrock/tap/llm-now(macOS / Linux) or downloading a native executable from the releases page, plusbatandtldr. - Set up an alias for a good provider and model in
llm-now.- I'm using
haiku(Claude Haiku 4.5) here which works well. - You can set up an alias by running
llm-nowand selectingCreate a new shortcut….
- I'm using
- Download
batman.shand source it from your~/.bashrcor~/.zshrcshell configuration
batman tar (may take a few seconds depending on your local, cli, or cloud provider's LLM model).