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 made more fields with din field new, stop each of them too (din field list names them):

din field stop --field work

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 or the XDG autostart entry) and nothing else:

din autostart off

Two more scheduled entries exist only if you made them. If you ran din deps timer on, remove the daily dependency refresh the same way:

din deps timer off

If you ran din capture install-task (the every-10-minutes capture pass), it has no off; remove it by hand. On Linux:

systemctl --user disable --now din-capture.timer
rm -f ~/.config/systemd/user/din-capture.service ~/.config/systemd/user/din-capture.timer

2. Remove the plugin

The plugin ships its own uninstaller:

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

It removes the scheduled capture sweep if you set one up with --schedule (the crontab line on Linux, the com.din.capture-sweep launchd agent on macOS), 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 sweep (cron, or launchd on macOS)
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.

3. Remove the install

tar -czf din-vault.tar.gz ~/.din/vault   # first, if you imported claude.ai chats: see below
rm -rf ~/.din          # the plugin's own state: config, spool, run directories, and the vault
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. ~/din/bin also holds webhooks.json, your webhook subscriptions, and ~/.din holds routes.json, your capture routes.

~/.din/vault is data too: it holds the originals din import claude-ai kept of your claude.ai export, so back it up first if you want them. ~/.din also holds the install id a paid licence checks in with (install-id, from 1.0.39) and, on an org install, fingerprint.key; neither is needed once DIN is gone.

Each field you made with din field new is in ~/din/fields/<name>/: its .din holds that field's token and settings, and its records is data, like ~/din/records below. To remove a field's token and settings but keep its records:

rm -rf ~/din/fields/work/.din ~/din/fields/work/logs

4. Your records, and the two things left beside them

~/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.

Two more things in ~/din are left by the steps above, on purpose, because they sit beside your records:

To keep your records, this is the whole backup:

tar -czf din-records.tar.gz ~/din/records
tar -czf din-fields.tar.gz ~/din/fields     # if you made more fields

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.