Skip to content
Discussion options

You must be logged in to vote

Because you used the standalone installer (rather than npm/pacman), remove the
standalone symlink and its managed package directory. First, confirm that the
link is the one managed by this installer:

readlink -- "$HOME/.local/bin/codex"

For the current package layout, that should print a path ending in
/.codex/packages/standalone/current/bin/codex (older layouts can end in
/current/codex). If it points somewhere unrelated, stop and inspect that
installation instead. With the expected link, remove only the installer-owned
files:

rm -- "$HOME/.local/bin/codex"
rm -rf -- "$HOME/.codex/packages/standalone"
hash -r

Then verify that no other Codex installation wins on PATH:

command -v codex || e…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@PROFFESSOR0x
Comment options

@Pandoa
Comment options

@codayon
Comment options

Answer selected by codayon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants