rtk-ai/rtk

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

Open

#1,450 创建于 2026年4月22日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Rust (48,085 star) (2,914 fork)batch import
bugeffort-smallgood first issue

描述

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.

贡献者指南