Cleaning up
This lesson removes what the course put on your computer. Use it when you are done with the course, or when you want to start again from a clean machine.
Nothing here is part of building your agent. Skip this lesson while you are still using NanoClaw.
The steps
Each step has its own page:
| Step | What you do | Why |
|---|---|---|
| Uninstalling NanoClaw | Run NanoClaw's own uninstaller, then delete its folder. | It removes the background service, the container, and the data of this copy of NanoClaw. |
| Uninstalling the tools (optional) | Remove the tools from Getting started, and the accounts and services the course set up. | Only if you want your computer back the way it was. Other programs may use these tools. |
Before you remove anything
- Removing NanoClaw is not undoable. Your agent's memory and your saved keys go with it.
- Your Telegram bot is not on your computer. It lives on Telegram's servers, so removing NanoClaw leaves it there. The Uninstalling NanoClaw page says how to delete it.
- The tools from Getting started stay, unless you remove them. Git, Docker, Make and Codex are normal tools that other work uses. Uninstalling the tools removes them, in the right order, if you want to.
A shortcut, if you want one
Both pages are also in one script, in your NanoClaw folder:
cd ~/nanoclaw
make uninstallIt hands NanoClaw to its own uninstaller, then asks about each tool separately. It only offers a tool when it can show that the course's installer is what put it there, so a Git or a Node.js you already had is reported and left alone. Nothing is removed without a yes. Homebrew is asked last and on its own, because removing it takes everything else it installed with it. It lists what would go too, then asks you to type homebrew to confirm. Pressing Enter keeps it.
To see what it would touch, and change nothing:
bash uninstall-dependencies.sh --checkRead the pages anyway if you want to know what each step removes, or if you installed a tool some other way. The script leaves alone anything it cannot account for, and the pages are how you take those off by hand.