# codeberg-cli mit Homebrew, apk, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für codeberg-cli in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

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

  Evidenz: local Homebrew formula metadata

### Linux

- apk (92%):

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

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:codeberg-cli
- **Paketmanager:** Homebrew
- **Version:** 0.5.5
- **Quellzusammenfassung:** CLI for Codeberg
- **Homepage:** <https://codeberg.org/Aviac/codeberg-cli>
- **Zuletzt aktualisiert:** 2026-07-16T12:50:32Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- berg (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.5.5
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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`.

### Quellen

- <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>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- 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


## 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)


## Quellen

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