CodexUse logo CodexUse Download

CodexUse Homebrew install and update guide

If you want the lowest-friction macOS install, Homebrew is the clean path. The official cask installs the desktop app cleanly, and you can add the optional codexuse CLI separately with npm when you want terminal workflows.

Key takeaway: Use the official cask for the app, then install the CLI separately with npm if you want terminal workflows.
Platform note: The Homebrew cask tracks the current Apple Silicon macOS desktop release line. Intel Mac and Linux desktop builds are not shipped in the current release line.

Why this path is useful

Fast fix

Install

brew install --cask hweihwang/codexuse/codexuse
open -a CodexUse
npm install -g codexuse-cli
codexuse --version

Update later

brew update
brew upgrade --cask codexuse
Upgrade recovery: Homebrew installs should update with brew upgrade --cask codexuse, not CodexUse's in-app restart updater. If Homebrew now fails with either App source '/Applications/CodexUse.app' is not there or It seems there is already an App at '/opt/homebrew/Caskroom/.../CodexUse.app', run brew uninstall --cask --force hweihwang/codexuse/codexuse, remove any dangling /Applications/CodexUse.app, then brew install --cask hweihwang/codexuse/codexuse.

How to verify the install

Check the app and optional CLI
brew info --cask hweihwang/codexuse/codexuse
npm list -g codexuse-cli --depth=0
codexuse --version

You should see CodexUse.app from Homebrew, and if you installed the CLI separately, codexuse --version should resolve too.

What to do after install

Troubleshooting table

Symptom Likely cause Action
codexuse: command not found right after install Your current shell has not picked up the new Homebrew binary yet Open a fresh terminal tab, then run codexuse --version again
The app opens but you are unsure which version is installed You have not checked the cask metadata Run brew info --cask hweihwang/codexuse/codexuse
brew upgrade --cask codexuse fails with App source '/Applications/CodexUse.app' is not there or It seems there is already an App at '/opt/homebrew/Caskroom/.../CodexUse.app' Homebrew's app bundle or symlink is out of sync, often after stale cask metadata or an in-app update touched the Homebrew-managed copy Run brew uninstall --cask --force hweihwang/codexuse/codexuse, remove any dangling /Applications/CodexUse.app, then install again with brew install --cask hweihwang/codexuse/codexuse
You need Linux or Intel Mac desktop support too Homebrew only covers the current Apple Silicon macOS desktop release line Use codexuse-cli on that machine for terminal workflows, and check the updates guide for the current desktop support line

What to avoid

Related

What is the Homebrew install command for CodexUse?

Use brew install --cask hweihwang/codexuse/codexuse. That installs CodexUse.app on Apple Silicon macOS. If you want the CLI too, add npm install -g codexuse-cli.

How do I update CodexUse from Homebrew?

Run brew update and then brew upgrade --cask codexuse. Do not use the in-app restart updater on a Homebrew install. If Homebrew fails with either App source '/Applications/CodexUse.app' is not there or It seems there is already an App at '/opt/homebrew/Caskroom/.../CodexUse.app', clear the local record with brew uninstall --cask --force hweihwang/codexuse/codexuse, remove any dangling /Applications/CodexUse.app, then reinstall.

How do I verify the install worked?

Run brew info --cask hweihwang/codexuse/codexuse. If you also installed the CLI separately, run codexuse --version too.

Download CodexUse or install with Homebrew