---
title: Install OpenCode on Linux | Snap Store
description: Get the latest version of OpenCode for Linux - Open source AI coding
  agent for the terminal
url: https://snapcraft.io/opencode
---

# OpenCode

[Ubuntu](https://snapcraft.io/publisher/ubuntu "View all snaps from Ubuntu")

* [Ubuntu](https://snapcraft.io/publisher/ubuntu "View all snaps from Ubuntu")
* [Development](https://snapcraft.io/search?categories=development)

latest/stable 1.18.32

Install latest/stable of OpenCode

---

**Install using the command line**

```
sudo snap install opencode --classic
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* opencode

---

### License

* Apache-2.0

---

### Last updated

* 22 September 2026 - latest/stable
* 2 October 2026 - latest/candidate

---

### Websites

* [opencode.ai](https://opencode.ai "https://opencode.ai")

---

### Contact

* [github.com/anomalyco/opencode/issues](https://github.com/anomalyco/opencode/issues "https://github.com/anomalyco/opencode/issues")

---

### Source code

* [github.com/anomalyco/opencode](https://github.com/anomalyco/opencode "https://github.com/anomalyco/opencode")

---

### Report a bug

* [github.com/anomalyco/opencode/issues](https://github.com/anomalyco/opencode/issues "https://github.com/anomalyco/opencode/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/opencode#report-snap-modal)

---

* [Description](https://snapcraft.io/opencode#tab-description)
* [Security](https://snapcraft.io/opencode#tab-security)

#### Open source AI coding agent for the terminal

OpenCode is an open source AI coding agent with desktop GUI support. This snap
packages both the CLI and desktop GUI built from source using Bun.

The snap packaging is maintained separately at
<https://github.com/canonical/opencode-snap>

---

## Install OpenCode on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/opencode/arch)

[### CentOS](https://snapcraft.io/install/opencode/centos)

[### Debian](https://snapcraft.io/install/opencode/debian)

[### elementary OS](https://snapcraft.io/install/opencode/elementary)

[### Fedora](https://snapcraft.io/install/opencode/fedora)

[### KDE Neon](https://snapcraft.io/install/opencode/kde-neon)

[### Kubuntu](https://snapcraft.io/install/opencode/kubuntu)

[### Manjaro](https://snapcraft.io/install/opencode/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/opencode/pop)

[### openSUSE](https://snapcraft.io/install/opencode/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/opencode/rhel)

[### Ubuntu](https://snapcraft.io/install/opencode/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/opencode/raspbian)
