dev-util/opencode-bin - 2.2.0 (guru)

Search

Install

Install this version:

emerge -a =dev-util/opencode-bin-2.2.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/opencode-bin-2.2.0

Or alternatively:

emerge --autounmask-write -a =dev-util/opencode-bin-2.2.0

Package Information

Description:
The open source coding agent
Homepage:
https://opencode.ai
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.2.0 8 -* ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="The open source coding agent"
HOMEPAGE="https://opencode.ai"

SRC_URI="
	amd64? (
		https://github.com/anomalyco/opencode/releases/download/v${PV}/opencode-linux-x64.tar.gz -> ${P}-amd64.tar.gz
	)
	arm64? (
		https://github.com/anomalyco/opencode/releases/download/v${PV}/opencode-linux-arm64.tar.gz -> ${P}-arm64.tar.gz
	)
"

S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="mirror strip"

QA_PREBUILT="usr/bin/opencode"

src_install() {
	dobin opencode
}

Manifest for 2.2.0

Type File Size Source URLs
DIST opencode-bin-2.2.0-amd64.tar.gz 115841183 bytes https://github.com/anomalyco/opencode/releases/download/v2.2.0/opencode-linux-x64.tar.gz
DIST opencode-bin-2.2.0-arm64.tar.gz 114522206 bytes https://github.com/anomalyco/opencode/releases/download/v2.2.0/opencode-linux-arm64.tar.gz