app-admin/bitwarden-cli-bin - 2026.6.0 (gentoo)

Search

Install

Install this version:

emerge -a =app-admin/bitwarden-cli-bin-2026.6.0

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

autounmask =app-admin/bitwarden-cli-bin-2026.6.0

Or alternatively:

emerge --autounmask-write -a =app-admin/bitwarden-cli-bin-2026.6.0

Package Information

Description:
CLI client for Bitwarden compatible servers
Homepage:
https://github.com/bitwarden/clients/tree/main/apps/cli
License:
GPL-3

Ebuild Details

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

EAPI=8

inherit shell-completion

DESCRIPTION="CLI client for Bitwarden compatible servers"
HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli"

SRC_URI="
	amd64? ( https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-oss-linux-${PV}.zip )
	arm64? ( https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-oss-linux-arm64-${PV}.zip )
"

S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"

# stripping breaks the binary. Errors:
# Pkg: Error reading from file.
RESTRICT='strip'

BDEPEND="app-arch/unzip"
QA_PREBUILT="usr/bin/bw"

src_compile() {
	./bw completion --shell zsh > bw.zsh 2> /dev/null || die
}

src_install() {
	dobin bw
	newzshcomp bw.zsh _bw
}

Inherited Eclasses

Dependencies

BDEPEND

app-arch/unzip

Manifest for 2026.6.0

Type File Size Source URLs
DIST bw-oss-linux-2026.6.0.zip 45028412 bytes https://github.com/bitwarden/clients/releases/download/cli-v2026.6.0/bw-oss-linux-2026.6.0.zip
DIST bw-oss-linux-arm64-2026.6.0.zip 43534048 bytes https://github.com/bitwarden/clients/releases/download/cli-v2026.6.0/bw-oss-linux-arm64-2026.6.0.zip