rtk-ai/rtk

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

Open

#1450 opened on Apr 22, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (48,085 stars) (2,914 forks)batch import
bugeffort-smallgood first issue

Description

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.

Contributor guide