DIN

Docs

Uninstall DIN

Everything DIN installs is in three places, and one of them is your records. Read which is which before you delete anything.

1. Stop the field

din field stop

If you ran din autostart on, remove its login entry now, while din is still installed. It removes exactly what on wrote (the systemd user unit and renewal timer, the XDG autostart entry, or the Windows logon tasks) and nothing else:

din autostart off

2. Remove the plugin

The plugin ships its own uninstaller:

sh ~/din/plugin/install/uninstall.sh

It removes the scheduled capture sweep from your crontab if you set one up with --schedule, takes DIN's entries out of Cursor's hooks.json and DIN's file out of OpenCode's plugin directory (anything else there is left alone), uninstalls the Claude Code plugin, and removes the plugin's programs. It does not delete your captures or config unless you pass --purge.

sh uninstall.sh                remove the plugin and the cron sweep
sh uninstall.sh --keep-plugin  remove the sweep only
sh uninstall.sh --purge        also delete the captures and the config

To remove the Claude Code plugin by hand instead: claude plugin uninstall din@din.

On Windows the same folder carries uninstall.ps1. The scheduled sweep can also be removed by hand:

schtasks /Delete /TN "DIN capture" /F

3. Remove the install

rm -rf ~/.din          # the plugin's own state: config, spool, run directories
rm -rf ~/din/bin ~/din/logs ~/din/plugin ~/din/share ~/din/.din

~/din/.din holds the field token and settings, and the licence key and entitlement if you activated one. ~/.din holds the plugin's settings and its copy of the entitlement.

4. Your records

~/din/records is your data. Nothing above removes it, and this page does not give you a command for it, because it is the one directory whose loss you cannot undo.

To keep it, this is the whole backup:

tar -czf din-records.tar.gz ~/din/records

A store is files, there is no database, and a new install pointed at it reads it straight back. If you want it gone, it is an ordinary directory of JSON files.

What is not on your machine

There is no account to close for the free build: the installer creates none, and the field, the console and the capture run on your machine, on loopback. Records you sent to a hosted field with din hosted push are on that hosted field: uninstalling here does not remove them.