Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Git bash on Windows 7. It provides me with a way to use most of the commands that I used to use on the bash shell on my Ubuntu machine. But the man and the info commands do not work. Is there a way to get these (incredible) documentation commands working on the Git bash shell on windows?

share|improve this question
up vote 2 down vote accepted

You could use the online documentation.

Linux man pages online & GNU Info Pages

share|improve this answer
are there any programs that will connect to these web pages from the command line and display the result? so that I can still type info grep on the shell and get the results there? – Prasanth Jun 10 '11 at 13:45
@Prasanth perhaps you can do a wget <URL> & then grep it. – Sathya Jun 13 '11 at 4:36

It may be a bit overkill, but you could download Cygwin which would include bash, man, and info readers like pinfo.

The cygwin installer would let you customize your install to be a pretty small subset of cygwin.

share|improve this answer
Not overkill in the slightest; it seems fairly common that someone will want a Unixy experience on Windows and install Git Bash mistakenly thinking that's the way to get one. Cygwin, meanwhile, actually provides one, probably to the maximal extent possible or very nearly so. – Aaron Miller Aug 21 '13 at 17:56

You can get man pages working on Git's bash environment, but it's probably more convenient to consider other alternatives that take less work.

I also don't have much rep on SuperUser, so I'm sad to say I can't really give all the links I need to in the response. I re-posted my response on Tumblr.

In summary:

  • Git's bash is a part of the msysGit project.
  • msysGit is a fork of the MinGW and MSYS project
  • You'll need either msysGit or MinGW to install MinGW-get
  • You'll need MinGW-get to install Groff
  • You'll need Groff to run these scripts to give you a man command from within the msys bash shell
  • With those scripts in place, you can read man pages. You'll just need to download them to the path you've indicated in the scripts.

Good luck.

share|improve this answer
You can install man with MinGW-get install msys-man. Man is also available as a windows binary: (found via the FAQ: That page also has groff. Either would probably run faster than those scripts. – Sam Hasler Feb 18 '14 at 9:53
@SamHasler msys-man is great. Thanks for the tip, I don't know how I missed that. – Mr. Dave Feb 24 '14 at 19:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .