Terminal basics
What a terminal is, how to open it, and why you can't break anything with it.
A terminal is a window where you give your computer instructions by typing them, instead of clicking. It looks a bit old-fashioned: a dark or white window full of text. But it's just a program that's already on your computer.
You need the terminal to install and start your AI assistant. After that your AI does most of the work; you mostly type ordinary sentences.
#Opening the terminal
On Windows the terminal is called PowerShell (inside the Terminal app).
- Press the Windows key (or click Start).
- Type
terminal. - Click Terminal. Not there? Type
powershelland click Windows PowerShell.
A window opens with a line like PS C:\Users\Anna>. That's where you type your commands.
On a Mac the app is called Terminal.
- Press ⌘ Cmd+Space to open Spotlight.
- Type
terminal. - Press Enter.
A window opens with a line ending in %. That's where you type your commands.
On most Linux computers you open the terminal with Ctrl+Alt+T.
Doesn't work? Look for Terminal in your applications menu.
A window opens with a line ending in $. That's where you type your commands.
#Running a command
- Copy the command from this guide with the Copy button at the top right of the grey box.
- Click in the terminal window.
- Paste the command (see below).
- Press Enter.
Try it with this harmless command, which just shows the date:
Get-Datedatedate#Copy and paste
Pasting in the terminal sometimes works a little differently from what you're used to:
- Paste: Ctrl+V or right-click.
- Copy: select text with the mouse and press Ctrl+C.
- Paste: ⌘ Cmd+V.
- Copy: select text with the mouse and press ⌘ Cmd+C.
- Paste: Ctrl+Shift+V (note: with Shift).
- Copy: select text and press Ctrl+Shift+C.
#Good to know
- Something is stuck or you want to stop? Press Ctrl+C (on a Mac too). That cancels the running command.
- Run an earlier command again? Press the up arrow ↑.
- Folders. The terminal is always "in" a folder.
cd(change directory) moves you to another folder, for examplecd bakeryto open your website's folder. You always start your AI assistant from your website's folder. - Capitals and spaces matter. That's why copying commands is better than retyping them.
Next step: install Node.js and Git.