Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Windows: rtk init --uninstall does not work #384

@FlorianBruniaux

Description

@FlorianBruniaux

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

rtk init -g --uninstall

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions