rtk-ai/rtk

Bug Report: rtk init -g --uninstall cannot work with codex on Ubuntu 20.04

Open

#1450 aperta il 22 apr 2026

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Rust (2914 fork)batch import
area:clibugeffort-smallgood first issueplatform:linuxpriority:medium

Metriche repository

Star
 (48.085 star)
Metriche merge PR
 (Merge medio 11g 1h) (45 PR mergiate in 30 g)

Descrizione

Summary

The rtk init -g --uninstall command does not work for codex on Ubuntu 20.04.

Environment OS: Ubuntu 20.04 RTK version: 0.37.1, 0.37.2

Expected behavior rtk init -g --uninstall Should cleanly remove for codex and other code agents.

Actual behavior The unisntall command works for Claude Code, OpenCode, and Cursor, but not work for Codex(remaining ~/.codex/RTK.md and other information)

$ rtk init -g --uninstall
RTK uninstalled:
  - Hook script: /home/oem/.claude/hooks/rtk-rewrite.sh
  - Integrity hash: removed
  - RTK.md: /home/oem/.claude/RTK.md
  - CLAUDE.md: removed @RTK.md reference
  - OpenCode plugin: /home/oem/.config/opencode/plugins/rtk.ts

Restart Claude Code, OpenCode, and Cursor (if used) to apply changes.

Guida contributor