# Installer codeberg-cli avec Homebrew, apk, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de codeberg-cli pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

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

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

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

## Faits du paquet

- **Clé du paquet:** brew:codeberg-cli
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.5.5
- **Résumé source:** CLI for Codeberg
- **Page d'accueil:** <https://codeberg.org/Aviac/codeberg-cli>
- **Dernière mise à jour:** 2026-07-16T12:50:32Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- berg (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.5.5
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

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


## Sources

- 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
