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.

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: If Homebrew fails with App source '/Applications/CodexUse.app' is not there, your machine is stuck on stale old cask metadata. Run brew uninstall --cask --force hweihwang/codexuse/codexuse, 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 Homebrew still has old local uninstall metadata, but the old app file is already gone Run brew uninstall --cask --force hweihwang/codexuse/codexuse, then install again with brew install --cask hweihwang/codexuse/codexuse
You need Linux too Homebrew is only one install surface Use the Linux installer archive on the second machine, then pull config with sync if needed

What to avoid

Related

What is the Homebrew install command for CodexUse?

Use brew install --cask hweihwang/codexuse/codexuse. That installs CodexUse.app on 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. If that fails with App source '/Applications/CodexUse.app' is not there, clear the stale local record with brew uninstall --cask --force hweihwang/codexuse/codexuse once, 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