← Terminal to Agents
Terminal to Agents

Which Terminal to Open — and Why Windows Needs Care

8 Sept 2026·5 min read

Last time: a command is work described in words, and that is why it can be saved and repeated. Now we open the window to type in. This part is short, but it is the one that decides whether the next ten parts work on your machine.

Three words worth separating

  • The terminal is the window. It shows text and takes your typing. That is all it does.
  • The shell is the program inside it that reads your command and runs it. Bash and PowerShell are two different shells.
  • The prompt is the text sitting there waiting for you. It usually tells you which shell you are in.

People use "terminal" for all three and it rarely matters. It matters today, because the choice you are about to make is a shell, not a window.

The Windows trap

Windows opens PowerShell by default. PowerShell is a good shell — but it has commands named exactly like the Unix ones, doing something different underneath. I checked this on my own machine while writing this course: ls, pwd, cat, rm and curl all exist there, as aliases for completely different programs.

Why that is worse than missingA command that does not exist tells you so immediately. A command that exists and behaves differently lets you carry on believing you typed it wrong. ls -la fails in PowerShell, and curl is not curl at all — it is a different tool with a different output.

What to open, on your machine

Pick your tab below. Run nothing else from it today — we only want the window open and the right shell inside it.

winget install --id Git.Git
Installs Git for Windows, which brings Git Bash with it. Then open Git Bash from the Start menu — not PowerShell. If winget is unavailable, download Git for Windows from git-scm.com instead.
Pick your machine — the copy button gives you that tab’s line.

How to tell where you are

The prompt tells you. If it starts with PS, like PS C:\Users\You>, you are in PowerShell — not what we want. In Git Bash you will see your username and a dollar sign at the end. On macOS and Linux you will also see a dollar sign. That dollar sign is the sign you are in the right place.

Do this in 60 secondsOpen your chosen shell and look at the prompt. Find the dollar sign. Type nothing. That is today done — the window is open and it is the right one.
Today’s AI angleThis choice follows you into the AI parts. A coding agent runs commands through your shell — so an agent on Windows behaves differently depending on whether Git Bash is there. Choosing well now saves a confusing day in Part 10.

The window is open and it is empty. Which raises the obvious question: what is the first thing worth typing into it?

Which Terminal to Open — and Why Windows Needs Care · Ali Huzaifa