Stuck on a coding problem?
Need to check Stack Overflow, but donโt want to leave your terminal?
howdoiย is a command-line tool made just for that. It gives the answers to all sorts of queries related to programming and coding like getting help in syntax, searching for libraries, resolving errors, etc., while working directly from the command line๐ฅ
Be aware though โ It scrapes code from the top answers on Stack Overflow & It might not always be the best information. Also, you need an internet connection for using howdoi.
๐คฉ It also supports many Optional arguments which might come pretty handy at times :
-
-a, โallย display the full text of the answer
-
-l, โlinkย display only the answer link
-
-c, โcolorย enable colorized output
-
-j, โjsonย return answers in raw json format
-
โsave, โstashย stash a howdoi answer
-
โviewย view your stash
-
โremoveย remove an entry in your stash
-
โemptyย empty your stash
-
-n NUM, โnum NUMย number of answers to return
Examples: