openai/codex · error · anyhow::Error
managed standalone Codex install not found at {managed_codex
Error message
managed standalone Codex install not found at {managed_codex_path}
This command requires the standalone install managed by the Codex installer, because the daemon starts and updates app-server from that fixed path.
Install it with:
curl -fsSL https://chatgpt.com/codex/install.sh | sh
Then rerun the command you just tried. What it means
Error "managed standalone Codex install not found at {managed_codex_path} This command requires the standalone install managed by the Codex installer, because the daemon starts and updates app-server from that fixed path. Install it with: curl -fsSL https://chatgpt.com/codex/install.sh | sh Then rerun the command you just tried." thrown in openai/codex.
Source
Thrown at codex-rs/app-server-daemon/src/lib.rs:673
managed_codex_bin: &Path,
) -> Result<Option<u32>> {
let backend =
backend::pid_backend(self.backend_paths_with_bin(settings, managed_codex_bin));
backend.start().await
}
async fn is_bootstrapped(&self, settings: &DaemonSettings) -> Result<bool> {
let updater = backend::pid_update_loop_backend(self.backend_paths(settings));
updater.is_starting_or_running().await
}
fn ensure_managed_codex_bin(&self) -> Result<()> {
if self.managed_codex_bin.is_file() {
return Ok(());
}
let managed_codex_path = self.managed_codex_bin.display();
Err(anyhow!(
"managed standalone Codex install not found at {managed_codex_path}\n\n\
This command requires the standalone install managed by the Codex installer, because \
the daemon starts and updates app-server from that fixed path.\n\n\
Install it with:\n curl -fsSL https://chatgpt.com/codex/install.sh | sh\n\n\
Then rerun the command you just tried."
))
}
#[cfg(unix)]
async fn managed_codex_version_best_effort(&self) -> Option<String> {
managed_codex_version(&self.managed_codex_bin).await.ok()
}
#[cfg(not(unix))]
async fn managed_codex_version_best_effort(&self) -> Option<String> {
None
}
View on GitHub (pinned to 339751715c)
When it happens
Trigger: Thrown at codex-rs/app-server-daemon/src/lib.rs:673 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of openai/codex@339751715c (2026-08-25).
Data as JSON: /api/errors/4cb34386f9f90bd5.
Report an issue: GitHub.