If you've only ever used a computer by clicking, the terminal looks like something from a hacker film. It isn't. It's a file explorer that you talk to.
When you open a folder by double-clicking it, you're doing exactly what cd does. When you look at what's inside, that's ls. Same actions, typed instead of clicked — and typed instructions can be saved, repeated, and given to an AI, which is why the whole profession lives here.
The mental model: you are always somewhere
The terminal always has a current folder — where you are right now. Every command you type happens there. This is the one idea that makes everything else make sense, and it's the one beginners miss.
So the first thing you learn isn't a command, it's a habit: before you type anything, know where you are. pwd tells you.
Opening it
- Windows — press Start, type Terminal, open it. (Git Bash, installed with Git, is another good choice.)
- Mac — press
Cmd + Space, type Terminal, hit enter.
The part nobody tells you
Nothing you type by accident will break your computer. The commands below only look and move; the dangerous ones are few, and you'll recognise them because they delete things. If a command does nothing or complains, nothing happened. Type the next one. Being wrong in a terminal costs you nothing but a line.