Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Terminal basics: where you are and running things card 3 of 6

Four moves: where, what, go, run

- `pwd`: print where you are. - `ls`: list what's in this folder. - `cd <folder>`: move into a folder. `cd ..` goes up one level. `cd ~` goes home. - `<program> <file>`, e.g. `python app.py`: run something. On many Macs and Linux machines the command is `python3`. A **relative path** (`src/app.py`) starts from where you are. An **absolute path** (`/Users/sam/...`) starts from the top of the disk. In Windows PowerShell, `pwd`, `ls` and `cd` work too, and absolute paths start with a drive letter, like `C:\Users\sam`.
Terms on this card
path
A file or folder's location written as folder names joined by `/`, e.g. `Projects/todo/app.py`.
`pwd`
Short for 'print working directory'. Shows the full path of the folder you are currently in.
`ls`
Lists the files and folders inside the current folder.
`cd`
Short for 'change directory'. Moves the terminal into another folder, e.g. `cd src`.
`cd ..`
Moves up one level, into the folder that contains the current one.
Learn this step by step on Bytewise
Lesson goal: Use a terminal to see the current working directory, list files, change directory and run a program. Explain why an agent's commands run relative to the folder it was started in. · the whole lesson