Most of the time you point and click. Developers often type instead: short commands in a plain window called the terminal.
You can tell a friend what you want by pointing at things, or you can just text them: “Get milk, eggs and bread.” Texting is quicker once you know what to say.
A CLI is texting your computer. You type a short command, press Enter and the computer does it. The window you type into is called the terminal.
Why people use it
- it's fast: one line can do what takes twenty clicks
- it's exact: the same command does the same thing every time
- it's shareable: you can paste a command to a colleague
- many developer tools only work this way
What a command looks like
Something like git commit -m "Fix typo". The first word is the program, the rest tells it what to do. It looks cryptic at first, but most people only need a handful.
What it isn’t
It isn’t hacking, despite how it looks in films. It’s just another way to use the same computer.
Where the comparison breaks down
A friend understands “grab some milk, please”. The terminal doesn’t forgive typos. Commands must be spelled exactly right.
How the words fit together
You type Git commands in the CLI. You start a localhost preview from it too. It’s where a lot of code gets run while it’s being made.
Every Mac, Windows PC and Linux machine has one built in. On a Mac it's the app called Terminal. On Windows it's PowerShell.

When you'll hear it
“Run it in the terminal.” Type the command into the plain text window and press Enter.
“There's a CLI for that.” The tool can be used by typing commands, not just by clicking.
“Open a shell.” Open the terminal so you can type commands.
“Can this be done with one command, so anyone on the team can repeat it the same way?”

Try it yourselfReady to use it? The exact commands are on my other site, devcmds: Set up your shell ↗

