Use the installer with --uninstall:
curl -fsSL https://raw.githubusercontent.com/noket-dev/noket/main/install.sh | bash -s -- --uninstall& ([scriptblock]::Create((irm https://raw.githubusercontent.com/noket-dev/noket/main/install.ps1))) -UninstallThis stops and removes the login item, then deletes noket and noketd from the install directory.
It leaves your configuration and credentials in place.
To remove those as well, add --purge (-Purge on Windows). That deletes the config directory
— config.toml, credentials.json, the node id, and logs.
Before you remove a machine
If the node is listed in the console, remove it there too, under Console → Tunnel → Nodes. Models that point at that node will stop working, so check Models for anything using it.
Manual uninstall
- Stop the connector:
noket down, or stop the supervisor’s unit or task. - Remove the login item:
- macOS:
launchctl bootout "gui/$UID/dev.noket.connector"and delete~/Library/LaunchAgents/dev.noket.connector.plist. - Linux:
systemctl --user disable --now noket.serviceand delete~/.config/systemd/user/noket.service. - Windows:
Unregister-ScheduledTask -TaskName Noket -Confirm:$false.
- macOS:
- Delete the
noketandnoketdbinaries. - Optionally delete the config directory, then remove the install directory from
PATH.