pathman is a CLI tool that audits and cleans your Windows PATH environment variable directly from the Registry.
pathman doctor scans every entry and flags what's dead (folder no longer exists) or duplicated. pathman fix removes them after showing exactly what will change.
No restart needed — pathman broadcasts the same signal Windows uses internally so open apps pick up the change immediately. Single static binary, no dependencies.