How many times have you left the terminal to search the web for a coding solution?

Whether it is the Python dict comprehension, a CSS Flexbox property, sed command syntax or the order of commits during git squash.

Today I learned about the AMAZING howdoi command line tool.

It quickly scrapes code from StackOverflow top answers and outputs the solution in your terminal.


$ pip install howdoi


$ howdoi untar a tar file
tar –xzf filename.tgz -C /target/directory

XKCD tar TAR by xkcd

You can change the source url for answers, the underline search engine and even colorize the output.

comments powered by Disqus