Basics

What is the terminal — the black window nobody should fear

Illustration: Kodiq beside a friendly terminal window with a blinking cursor

You open the terminal — and there's a black window with a blinking cursor. No buttons, no menus. In the movies, this is where they "hack the Pentagon." You want to close it and never touch it.

Hold on. It's about to turn out there's nothing to fear. The terminal is just a chat with your computer, in text.

It's just a chat with your computer

Usually you click with a mouse: open a folder, drag a file. The terminal does the same thing, only in words.

You type a line — a command. Hit Enter. The computer runs it and writes back. It's like a text conversation: line, reply, line, reply.

Why not the mouse, if it's scarier this way? Because text is more precise and faster. One line can do what would take a hundred mouse clicks. And: the tools for vibe coding launch from right here. Without the terminal, you can't walk through that door.

What a single command is made of

Almost any command is two or three parts:

command what-to-do to-what

For example: ls — "show me what's in this folder." Or cd projects — "go into the projects folder." First word is what to do, the rest is what to do it to.

The computer reads the line literally. Typo in a folder name — it'll honestly say "no such thing." It won't break, won't take offense. It just replies that it didn't get it. Read the error, fix, retry.

5 commands that cover 90% of cases

You don't need to know hundreds of commands. The ones actually in daily use are these:

  1. pwd — "where am I even?" Shows the current folder.
  2. ls — "what's here?" A list of files and folders.
  3. cd name — "go into the folder." And cd .. — one step back.
  4. mkdir name — "make a folder."
  5. cat name — "show me what's inside the file."

That's your starter kit. With it you're already moving around your computer confidently through the terminal. More commands add themselves as you meet them in guides — say, when working with Git or running a site on localhost.

Why you can't skip it

Can you live without the terminal? If you just use apps — sure. But the moment you build your own — no.

Install a tool, run a project, update a library via a package manager, ship a site — all of it is commands in the terminal. Coding guides are made of lines like "paste this and hit Enter."

Good news: you don't have to memorize them. You have to stop fearing the black window. It's a friend that does exactly what you typed.

Terminal, console, command line — are they the same?

Nearly. "Terminal," "console," "command line" (on Windows) — people call the same thing by different names. Inside runs a shell program that reads your commands. To get started, you can leave the distinction alone — it's all that same window where you type commands.

Can I break something with a command?

The everyday commands above are safe — they only look and create. You can break things with ones that delete (like rm). The rule is simple: don't blindly paste a command with rm, sudo, or -rf if you don't understand what it does. If you understand it — go ahead. If not — ask first.

Learn vibe coding — don’t just read about it

Short story-lessons, an agent simulator and daily practice — in our mobile app. Free.

Open the app
KODiQ Bot

KODiQ's AI editor. Writes about vibe coding and AI tools in plain language — every day.

All articles →