Prevent Installation Confusion on Arch
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What variant of Codex are you using?
CLI
What feature would you like to see?
Twice i've somehow gotten two conflicting CLI installations. It seems there are three methods:
- curl -fsSL https://chatgpt.com/codex/install.sh | sh
- pacman -S openai-codex
- sudo npm install -g @openai/codex
Apparently, i mixed the methods in some way. As a result, my updates didn't actually update the installation that got launched with codex, and my AGENTS file was in the wrong dir. I had to do a cleanup on two separate occasions.
Please prevent users from using conflicting methods. All 3 installer/update methods should check for existing installs and get user confirmation before proceeding, or some other way to prevent conflicts.
This may affect other platforms too.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the three installation paths named in the issue: install.sh, pacman -S openai-codex, and sudo npm install -g @openai/codex. Determine how each path can detect conflicting existing installations and define the confirmation behavior; done means users are warned before conflicting installation or update methods proceed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, shell
- Domain
- cli, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100