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 6 of 6
Where you start is where it works
Every command runs from the current working directory. Check it with `pwd` and `ls`, and move with `cd`. Start an agent inside your project folder, because the file names in its commands are looked up from there.
Terms on this card
- current working directory
- The folder a terminal (or a program started from it) is currently in. File names without a full location are looked up there.
- `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`.
- directory
- Another word for folder.
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