Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

docs: Add `--cask` option to brew command to suggest (#5432)

Naoya Yasuda53cadb4df6e0
diff --git a/codex-rs/tui/src/updates.rs b/codex-rs/tui/src/updates.rs
index fe859e15f2..8b92af4fc9 100644
--- a/codex-rs/tui/src/updates.rs
+++ b/codex-rs/tui/src/updates.rs
@@ -175,7 +175,7 @@ impl UpdateAction {
match self {
UpdateAction::NpmGlobalLatest => ("npm", &["install", "-g", "@openai/codex@latest"]),
UpdateAction::BunGlobalLatest => ("bun", &["install", "-g", "@openai/codex@latest"]),
- UpdateAction::BrewUpgrade => ("brew", &["upgrade", "codex"]),
+ UpdateAction::BrewUpgrade => ("brew", &["upgrade", "--cask", "codex"]),
}
}