FAQ: uninstall
The steps are in Uninstall.
How do I remove Niro completely?
Run niro uninstall, then npm uninstall -g @niroai/niro, then restart your agents.
How do I remove Niro from one agent only?
Run niro mcp uninstall --client <id>.
How do I stop indexing one folder?
Run niro plan remove <folder>, or niro remove --path <folder>. Its graph is deleted, and the lines it used are freed.
"Nothing removed: there is no terminal to confirm on. Pass --yes to go ahead."
niro uninstall asks before it removes anything. In a script, add --yes.
"Niro is partly removed; see the problems above."
Some steps failed. The lines above name them. Fix those, and run niro uninstall again.
PM2's start-at-login entry is still there after uninstalling.
niro uninstall removes the watcher itself. What happens to PM2's start-at-login entry depends on your computer:
- PM2 still runs other programs: the entry is kept, because it is not Niro's.
- macOS, with nothing else in PM2: the entry is removed.
- Otherwise (Linux): removing it needs administrator rights, so the uninstall prints the command for you to run. Until you run it, PM2 starts on login with nothing of Niro's in it.
Cursor rule files are still in other folders.
niro mcp uninstall removes the Cursor rule from the current folder only. Delete .cursor/rules/niro.mdc in the other folders yourself.
"Could not send the waiting usage and audit records"
Before deleting anything, niro uninstall tries to send the records that are waiting. It could not, and it goes on with the uninstall anyway.
"Niro is not installed on this machine, so there is nothing to remove."
Niro found nothing of its own. If the niro command is still there, run npm uninstall -g @niroai/niro.
Does uninstalling delete my account or turn off code sharing?
No to both. Turn sharing off in the console (Settings, Privacy). To delete your account, email help@niro.ai.