Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: use `brew upgrade --cask codex` to avoid warnings and ambiguity (#9823)

JBallin32b062d0e190
diff --git a/codex-rs/tui/src/update_action.rs b/codex-rs/tui/src/update_action.rs
index b5cf56a6b4..0bb6fa2caa 100644
--- a/codex-rs/tui/src/update_action.rs
+++ b/codex-rs/tui/src/update_action.rs
@@ -15,7 +15,7 @@ impl UpdateAction {
match self {
UpdateAction::NpmGlobalLatest => ("npm", &["install", "-g", "@openai/codex"]),
UpdateAction::BunGlobalLatest => ("bun", &["install", "-g", "@openai/codex"]),
- UpdateAction::BrewUpgrade => ("brew", &["upgrade", "codex"]),
+ UpdateAction::BrewUpgrade => ("brew", &["upgrade", "--cask", "codex"]),
}
}