# codeberg-cli を Homebrew, apk, Nix でインストール

codeberg-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:codeberg-cli
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install codeberg-cli
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add codeberg-cli
```

  証拠: Alpine Linux edge package indexes: codeberg-cli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#codeberg-cli
```

  証拠: nixpkgs package indexes: pkgs/by-name/co/codeberg-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:codeberg-cli
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/codeberg-cli>
- **バージョン:** 0.5.5
- **ソース概要:** CLI for Codeberg
- **ホームページ:** <https://codeberg.org/Aviac/codeberg-cli>
- **上流ドキュメント:** <https://codeberg.org/Aviac/codeberg-cli>
- **ライセンス:** AGPL-3.0-or-later
- **ソースアーカイブ:** <https://codeberg.org/Aviac/codeberg-cli/archive/v0.5.5.tar.gz>
- **最終更新:** 2026-07-16T12:50:32Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- berg (cli)
- berg (エイリアス)

## 依存関係

- openssl@3

## ビルド依存関係

- pkgconf
- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.5.5
- マネージャ更新日: 2026-07-16
- ローカルデータ: OK
- 上流リポジトリ: https://codeberg.org/Aviac/codeberg-cli
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

Codeberg CLI was an independent command-line client for Codeberg and Forgejo-style forges, published as the `berg` command. Its own repository is now archived and directs users toward the better-maintained Forgejo CLI.

### プロジェクトの歴史

The Codeberg repository was created on 2023-01-10. Codeberg's API describes it as a CLI tool for Forgejo similar to `gh`, `glab`, and `tea`, and the first public release, v0.1.0, was published on 2023-01-29.

The README now begins with an archived notice saying the project was discontinued because of lack of maintainer time, and recommends `forgejo-contrib/forgejo-cli` as a similar, more official tool.

### 採用の歴史

The input package facts list distribution through Homebrew, Alpine APK, and Nix, showing that the tool escaped its upstream forge and reached common Unix package channels. Its official repository also advertised a crates.io package badge, consistent with Rust CLI distribution.

Release metadata shows a short but multi-year maintenance arc from 2023 releases through v0.5.1 in 2025, after which the project was archived.

### 使われ方

The intended use was to provide a forge CLI for Codeberg or Forgejo users, analogous to GitHub's `gh`, GitLab's `glab`, and Gitea's `tea`. The Homebrew formula exposes the `berg` executable.

### パッケージ好きにとっての重要性

The package is interesting mostly as a transition artifact in the Forgejo/Codeberg tooling ecosystem: a third-party Rust CLI that filled a gap before users were steered toward a more official Forgejo CLI. For package maintainers, its archived status matters more than feature depth because downstream packages may need replacement or removal planning.

### タイムライン

- 2023-01-10: Codeberg repository created.
- 2023-01-29: v0.1.0 public release published.
- 2024-05-02: v0.4.0 release published.
- 2025-09-27: v0.5.1 release published.
- 2025: README marks the project archived and recommends Forgejo CLI.

### Related projects

- The README explicitly points users to https://codeberg.org/forgejo-contrib/forgejo-cli. The Codeberg API description also compares the tool to `gh`, `glab`, and `tea`.

### ソース

- <https://codeberg.org/Aviac/codeberg-cli>
- <https://codeberg.org/api/v1/repos/Aviac/codeberg-cli>
- <https://codeberg.org/api/v1/repos/Aviac/codeberg-cli/releases>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** codeberg-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Nix - codeberg-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/codeberg-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - codeberg-cli - 0.5.5-r1: normalized package name match | Alpine Linux edge package indexes: codeberg-cli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI Tool for Codeberg similar to gh and glab | https://codeberg.org/RobWalt/codeberg-cli
- apk - codeberg-cli-bash-completion - 0.5.5-r1: normalized package name match | Alpine Linux edge package indexes: codeberg-cli-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for codeberg-cli | https://codeberg.org/RobWalt/codeberg-cli
- apk - codeberg-cli-fish-completion - 0.5.5-r1: normalized package name match | Alpine Linux edge package indexes: codeberg-cli-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for codeberg-cli | https://codeberg.org/RobWalt/codeberg-cli
- apk - codeberg-cli-zsh-completion - 0.5.5-r1: normalized package name match | Alpine Linux edge package indexes: codeberg-cli-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for codeberg-cli | https://codeberg.org/RobWalt/codeberg-cli


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openssl@3](https://pkg.so/ja/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [libgit2](https://pkg.so/ja/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [lazygit](https://pkg.so/ja/brew/lazygit/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [repo](https://pkg.so/ja/brew/repo/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [pygitup](https://pkg.so/ja/brew/pygitup/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [lab](https://pkg.so/ja/brew/lab/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [reposurgeon](https://pkg.so/ja/brew/reposurgeon/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [dura](https://pkg.so/ja/brew/dura/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [braid](https://pkg.so/ja/brew/braid/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [forgejo-cli](https://pkg.so/ja/brew/forgejo-cli/) - Local package facts share a topical domain. Shared terms: cli, codeberg, developer, developer-tools, git.
- [gcli](https://pkg.so/ja/brew/gcli/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

View the package source record on GitHub. [combined/codeberg-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/codeberg-cli.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
