Affiliate Disclosure
If you buy through our links, we may get a commission. Read our ethics policy.

How to use in macOS Terminal

Last updated

Terminal can be complex, so it's good that there's a single online repository of cheat sheets for it that can give you more information. Here's how to see it.

Igor Chubin has created a Terminal-based online cheatsheet tool, called While mainly targeted at developers, the project also includes a huge worldwide user-contributed base of cheat sheets for general Terminal commands, databases, and other useful macOS shortcuts.

While a little daunting to use at first for novice Terminal users, you'll soon have the hang of it and wonder how you got along without it.

How to use

There are 2 ways to use The first, and easiest is simply to type 'curl' in a Terminal window followed by "", a slash, then a command or technology you want to look up. For example, to get full information on the UNIX tar command, in Terminal type curl and press Return. will respond with everything it knows about the tar command.

You can also get some examples of usage by typing curl and pressing Return.

The command uses the standard curl downloader tool for most access. But it also has built-in intelligence and natural-language processing which makes searching for what you want easy too.

If you don't know the exact name of a command or technology, you can use's search/lookup simply by prepending a "~" to any word at the end of a command. For example curl returns all info knows about how to take a system snapshot.

You can further refine searches by prefixing a keyword or command with a specific technology or language name as if accessing it by directory curl

For example returns all info knows about Pointers, but only for the go programming langauge.

Since most of the info returned is held in community-maintained cheat sheet databases, it's highly likely what you're looking for will be available. You can even add your own cheatsheet for any particular topic, provided you follow's guidelines.

You can view a list of all available cheat sheets on a topic by adding ":list" to the end of any query. For example curl returns a list of all go programming topics in the system.

Command-line Client

There is also a dedicated command-line client for, which requires 2 commands in the Terminal to install. You'll need to have Homebrew installed to run the first command.

After Homebrew is installed, type brew install rlwrap then press Return.

Next, to install the command-line tool for all users on your Mac, in Terminal enter"

curl -s | sudo tee /usr/local/bin/ && sudo chmod +x /usr/local/bin/

Then press Return.

As the documentation mentions:

A documentation Now you can use instead of curl, and write your queries in more natural way.

There is also a complied binary (.exe) version of for Windows machines. It's also possible to install the entire system offline locally on your computer, although doing so is fairly technical, and might be beyond the ability of casual users. If we get enough requests, we'll cover it.

All-in-all is a valuable addition to your Terminal and tech knowledge. The ability to look up a command, or everything there is to know about a given technology in one place quickly is invaluable.