Support npm global update for non-privileged user
Open 💬 1 comment Opened May 17, 2026 by vz443
What version of Codex CLI is running?
V0.125.0
What subscription do you have?
Plus
Which model were you using?
None
What platform is your computer?
Linux 7.0.3-arch1-2 x86_64 unknown
What terminal emulator and version are you using (if applicable)?
kitty
Codex doctor report
What issue are you seeing?
When non privileged user, it does not run sudo when updating globally and update fails, must be run from cli with sudo prefixed
very low level and easy workaround, though thought i'd raise since why not
What steps can reproduce the bug?
Update codex with unprivileged user using codex and not npm directly
What is the expected behavior?
Maybe run with sudo and prompt for pass?
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗