tota requires Node.js 20+. Install with npm:
npm i -g tota-agent
Or run without installing:
npx tota-agent
Upgrade
tota includes a built-in upgrade command that handles the full update cycle:
tota upgrade
This command:
- Checks npm for the latest published version
- Stops the daemon if running, to avoid conflicts
- Removes the old package first to prevent
ENOTEMPTYerrors - Installs the latest version globally
- Shows the before/after version comparison
ℹ️
ENOTEMPTY fix — If you see ENOTEMPTY: directory not empty, rename when running npm i -g manually, use tota upgrade instead — it removes the old package directory before installing the new one.
