open-codex-computer-use icon indicating copy to clipboard operation
open-codex-computer-use copied to clipboard

Distribute Open Computer Use through Homebrew

Open lebedev-nikita opened this issue 2 weeks ago • 0 comments

Open Computer Use can only be installed with npm i -g open-computer-use. On macOS the npm package wraps the prebuilt Open Computer Use.app, so Node and npm are needed just to fetch and launch a native app, and the app is updated separately from the rest of a Homebrew-managed system.

Open Browser Use already ships through the official iFurySt/homebrew-open-browser-use tap, and its release workflow renders the formula for each release. Could Open Computer Use get the same treatment?

A possible shape:

  • A cask in a tap such as iFurySt/homebrew-open-computer-use, built from the existing Open-Computer-Use-<version>-macOS-universal.app.zip release asset, that installs the app and exposes the CLI through binary, as both open-computer-use and ocu.
  • A formula for the existing Linux CLI tarballs, if Linux support is wanted.
  • The release workflow updates the version and sha256 automatically, as it already does for Open Browser Use.

The app alone does not provide the full CLI. capabilities, config, js, repl and the install-* commands live only in the npm package's Node wrapper (scripts/node-repl/ and scripts/install-*.sh), and the app's own executable answers Unknown command to them. To keep the same command set in every distribution, either the Homebrew package should include the wrapper scripts and depend on node, or these commands could move into the native CLI.

One more detail to check: the macOS Accessibility and Screen Recording permissions are tied to the app's location and signature. The README should say whether moving from the npm install to the cask requires granting them again.

lebedev-nikita avatar Nov 19 '26 16:11 lebedev-nikita