Skip to content
AITermsLab
–points–day streak

What is a terminal?

A terminal is a text window where you type commands for the computer, like listing files or starting a program, instead of clicking icons.

Last updated

In real life

Like ordering by speaking to the chef instead of pointing at pictures on a menu: quicker once you know the words.

Try it yourself

The demo has a pretend terminal next to a made-up bakery project. Run pwd to see which folder you're in, ls to list what's there, and cd to move into the images or styles folder, then cd .. to go back.

Files and folders

rosas-bakery/

  • styles/

  • images/

Click a file to see its path and what it's for.

Terminal (pretend, safe to try)

This lesson

rosas-bakery $

Run a command

pwd shows which folder you're in, ls lists what's there, and cd moves you into a folder (cd .. goes back up). The highlighted folder on the left is where you are.

Terminal vs file explorer

A file explorer shows folders as icons you click. A terminal does the same jobs with typed commands, which is faster for repeated tasks and needed by many developer tools.

Common questions

Can I break my computer with the terminal?

Some commands can delete files without asking, so only run commands you understand, and be wary of copying commands from strangers. Listing and moving between folders is safe.

Do I need a terminal for vibe coding?

Often a little. Many AI coding tools run in a terminal, or ask you to type a command to start your app, such as npm run dev.

Where you will use this

Quick check: Terminal

Question 1 of 3

What do you do in a terminal?

What do you do in a terminal?