Lesson 19
File Manipulation with AI
Use AI from the terminal to edit a file. This lesson introduces a more advanced idea: AI is not only something you chat with in a browser, it can also become part of a real working environment.
Your project
Get AI running in your terminal and edit a file with it.
Steps
- Open the terminal environment you are using for AI.
- Make sure the AI tool is available and working.
- Choose one file to change.
- Use the AI tool to make a clear edit to that file.
- Check the file afterward so you know exactly what changed.
What to practice
- Be specific about the change you want.
- Review edits instead of assuming they are right.
- Use AI as a tool inside a workflow.
- Notice how this differs from browser chat.