Summary
The rtk init -g --uninstall command does not work on Windows. The uninstall process likely assumes a Unix-style environment (bash, Unix paths) and fails silently or errors out.
Environment
- OS: Windows (reported with Cygwin)
- RTK version: latest
Expected behavior
Should cleanly remove:
%USERPROFILE%\.claude\hooks\rtk-rewrite.sh (or equivalent)
%USERPROFILE%\.claude\RTK.md
@RTK.md reference from %USERPROFILE%\.claude\CLAUDE.md
- RTK hook entry from
%USERPROFILE%\.claude\settings.json
Actual behavior
Uninstall does not complete successfully on Windows.
Additional context
Related to the broader Windows support gap: the hook system (rtk-rewrite.sh) is a bash script and is already flagged as unsupported on Windows during rtk init -g. The uninstall path likely has the same assumptions about the shell environment.
Reported by Benjamin on Discord (Clean Coder community).
Summary
The
rtk init -g --uninstallcommand does not work on Windows. The uninstall process likely assumes a Unix-style environment (bash, Unix paths) and fails silently or errors out.Environment
Expected behavior
Should cleanly remove:
%USERPROFILE%\.claude\hooks\rtk-rewrite.sh(or equivalent)%USERPROFILE%\.claude\RTK.md@RTK.mdreference from%USERPROFILE%\.claude\CLAUDE.md%USERPROFILE%\.claude\settings.jsonActual behavior
Uninstall does not complete successfully on Windows.
Additional context
Related to the broader Windows support gap: the hook system (
rtk-rewrite.sh) is a bash script and is already flagged as unsupported on Windows duringrtk init -g. The uninstall path likely has the same assumptions about the shell environment.Reported by Benjamin on Discord (Clean Coder community).