Lesson 2.3 · 3:58
Install OpenCode
Goal: Install your harness and get its first reply, opened inside your project folder.
Try it
- Install OpenCode from opencode.ai.
- Open a new terminal and
cdintofirst-project. - Run
opencodeand choose a model. - Type
helloand press Enter.
You're done when OpenCode replies to your "hello", and you started it from inside first-project.
Recap
- Installing puts OpenCode on your computer once. A new terminal lets it be found.
- OpenCode works in its working folder: wherever your terminal was when you started it.
- The model is chosen inside the harness. Any working model is fine for now.
Next lesson (2.4): your first tiny win. The agent makes a real file, and you check it yourself.