---
agent:
  instructions: "Use this search API to find the latest version, release notes and update steps of any Mac app, and pages on this site, with an app name, bundle ID or natural-language question, instead of crawling pages. Results are returned in Markdown."
  endpoint: "https://tryfresh.app/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# OpenCode for Mac

The latest version of OpenCode for Mac is 2.4.2, as of November 26, 2026. AI coding agent desktop client.

## How to update OpenCode on your Mac

- **In OpenCode.** OpenCode updates itself while it's open.
- **With Homebrew.** If you installed OpenCode with Homebrew, run `brew upgrade --cask opencode-desktop`.
- **With Fresh.** Fresh lives in your menu bar, spots when OpenCode and your other apps are out of date, and updates them all in one click. It's coming soon: https://tryfresh.app/#waitlist

## OpenCode version history

### 2.4.2 (First seen Nov 26, 2026)

### 2.4.1 (By Nov 24, 2026)

[Release notes](https://opencode.ai/changelog)

## Details

- Latest version: 2.4.2
- Last checked: Nov 26, 2026, 21:18 UTC
- Website: https://opencode.ai/
- Homebrew cask: opencode-desktop
