Before you start

You do not need any command-line experience. This page teaches the few things you need. We use the terminal first because that is where the agents live. Desktop and web apps exist, but treat them as a fallback.

1. Open a terminal

Press the Windows key, type Terminal (or PowerShell on older Windows), press Enter. You should see a window with a line ending in >.

Press Cmd + Space, type Terminal, press Enter.

On Ubuntu and many others, press Ctrl + Alt + T. Otherwise open the applications menu and search for “Terminal”.

2. What a prompt looks like

The last line is the prompt. It is the computer saying “ready for a command”. It looks a bit different on each system:

PS C:\Users\you>
you@your-mac ~ %
you@your-pc:~$

You type after it and press Enter. When the prompt comes back, the command has finished.

3. Copy and paste into a terminal

Every command on this site has a Copy button. Pasting is where people get stuck, because it differs.

In Windows Terminal: Ctrl + V or Ctrl + Shift + V, or right-click. In an older blue PowerShell window, right-click pastes.

Cmd + V, as everywhere else on a Mac.

Ctrl + Shift + V (plain Ctrl + V usually does not work), or right-click and choose Paste.

After pasting, read the line, then press Enter. Some terminals ask you to confirm when you paste several lines.

4. Stop a command

Press Ctrl + C (on a Mac too, not Cmd). Use it if something seems stuck or you started the wrong thing. To leave a program such as an agent, you can also type exit.

5. “command not found”

It means the terminal does not know that name. Either it is not installed, you mistyped it, or you installed it a moment ago and the terminal has not noticed. Close the terminal, open a new one, and try again. Windows says something like “is not recognized”. It is the same problem.

6. Your code lives in a folder

Where am I? Come back to this box any time.

I want to…macOS / LinuxWindows PowerShell
See where I ampwdpwd
See what is herelsls or dir
Go into a foldercd Documentscd Documents
Go back up onecd ..cd ..
Make a foldermkdir portfoliomkdir portfolio
See what the agent changedgit status (what changed) and git log --oneline (what was saved), or ask the agent: “What did you change?”

Your project is just a folder with files in it. The agent can only see and change the folder you start it in. So we make one folder for this project and start the agent inside it.

cd Documents
mkdir portfolio
cd portfolio
pwd
ls

If cd Documents fails, run ls (or dir) to see what folders you have, and pick one. On some Windows machines Documents lives inside OneDrive. That is fine.

You should see a path ending in portfolio after pwd, and nothing after ls, because the folder is empty. If mkdir says the folder already exists, that is fine: just cd portfolio.

Finding it again tomorrow. Open a new terminal, then cd Documents/portfolio (on Windows, cd Documents\portfolio also works). Run pwd and ls to check you are in the right place before you start the agent. Write the path down.

7. Git, in one minute

Git keeps a history of your project, so you can see what changed and go back. Check it is installed:

git --version

If it prints a version number, you have it. On a Mac, a box may pop up offering to install “command line developer tools”: click Install and wait (it can take several minutes), then run the command again. On Windows, if it says “is not recognized”, install Git from git-scm.com/downloads, accept the default choices, then open a new terminal. Inside your project folder, git init starts a history, git status shows what changed, git log --oneline lists what was saved. The agent can do the saving for you if you ask.

8. Do I need Node and npm?

Only for some install routes. From the vendors’ own pages today:

Check what you have:

node --version
npm --version

If those print version numbers, you have them. If not, and you need them, follow the official instructions at nodejs.org/en/download and then open a new terminal. If you can use a native installer, skip Node altogether.

Checked on 24 November 2026.

← HomeSet up your agent →