import "./index.css" import { Title, Meta, Link } from "@solidjs/meta" import { A, createAsync, query } from "@solidjs/router" import { Header } from "~/component/header" import { Footer } from "~/component/footer" import { IconCopy, IconCheck } from "~/component/icon" import { Faq } from "~/component/faq" import desktopAppIcon from "../../asset/lander/opencode-desktop-icon.png" import { Legal } from "~/component/legal" import { config } from "~/config" const getLatestRelease = query(async () => { "use server" const response = await fetch("https://api.github.com/repos/sst/opencode/releases/latest", { headers: { "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36", }, }) if (!response.ok) return null const data = await response.json() return data.tag_name as string }, "latest-release") function CopyStatus() { return ( ) } export default function Download() { const release = createAsync(() => getLatestRelease(), { deferStream: true, }) const download = () => { const version = release() if (!version) return null return `https://github.com/sst/opencode/releases/download/${version}` } const handleCopyClick = (command: string) => (event: Event) => { const button = event.currentTarget as HTMLButtonElement navigator.clipboard.writeText(command) button.setAttribute("data-copied", "") setTimeout(() => { button.removeAttribute("data-copied") }, 1500) } return (
OpenCode | Download
OpenCode Desktop

Download OpenCode

Available in Beta for macOS, Windows, and Linux

[1] OpenCode Terminal
[2] OpenCode Desktop (Beta)
macOS (Apple Silicon)
Download
macOS (Intel)
Download
Windows (x64)
Download
Linux (.deb)
Download
Linux (.rpm)
Download
[3] OpenCode Extensions
VS Code
Install
Cursor
Install
Windsurf
Install
VSCodium
Install
[4] OpenCode Integrations
GitHub
Install
GitLab
Install

FAQ

  • OpenCode is an open source agent that helps you write and run code with any AI model. It's available as a terminal-based interface, desktop app, or IDE extension.
  • The easiest way to get started is to read the intro.
  • Not necessarily, but probably. You'll need an AI subscription if you want to connect OpenCode to a paid provider, although you can work with{" "} local models {" "} for free. While we encourage users to use Zen, OpenCode works with all popular providers such as OpenAI, Anthropic, xAI etc.
  • Not anymore! OpenCode is now available as an app for your desktop.
  • OpenCode is 100% free to use. Any additional costs will come from your subscription to a model provider. While OpenCode works with any model provider, we recommend using Zen.
  • Your data and information is only stored when you create sharable links in OpenCode. Learn more about{" "} share pages.
  • Yes, OpenCode is fully open source. The source code is public on{" "} GitHub {" "} under the{" "} MIT License , meaning anyone can use, modify, or contribute to its development. Anyone from the community can file issues, submit pull requests, and extend functionality.
) }