# 使用 Homebrew, MacPorts, Nix 安装 mani

查看 mani 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mani
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mani
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mani
```

  证据: MacPorts ports tree: devel/mani/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mani
```

  证据: nixpkgs package indexes: pkgs/by-name/ma/mani/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:mani
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mani>
- **版本:** 0.32.1
- **来源摘要:** CLI tool to help you manage repositories
- **主页:** <https://manicli.com>
- **仓库:** <https://github.com/alajmo/mani>
- **上游文档:** <https://manicli.com>
- **许可证:** MIT
- **源码归档:** <https://github.com/alajmo/mani/archive/refs/tags/v0.32.1.tar.gz>
- **最后更新:** 2026-07-29T17:04:50+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mani (cli)
- mani (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.32.1
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://github.com/alajmo/mani
- 检测到的最新版本: v0.32.1 (当前)
## 项目历史与用法

mani is a Go command-line tool for managing many repositories from one YAML inventory. It combines project metadata, cloning and synchronization, task definitions, filtering, and command execution across groups of repositories.

### 项目历史

The public repository was created in October 2019. The project's own background document says it was written because the author wanted a central place for many repositories, with names, URLs, descriptions, one-command cloning, ad-hoc or named commands across selected repositories, and an overview of repositories and command output.

mani's design centers on a user-editable YAML file instead of treating the config as an opaque state file. The documentation highlights projects, tasks, specs, targets, themes, and environment variables as the core concepts in `mani.yaml`.

### 采用历史

The README documents distribution through project releases, curl install, Homebrew, MacPorts, Arch AUR, Nix, Go install, and source builds. That package-manager spread reflects a niche but real audience among developers who maintain many Git repositories.

### 使用方式

Typical use starts with `mani init` in a directory containing Git repositories, which generates a `mani.yaml` inventory. Users then run commands such as listing projects or executing `git status` across all projects, optionally in parallel and with tabular output.

### 为什么软件包爱好者会关心

mani sits in the same tooling family as `myrepos`, `repo`, `vcstool`, `meta`, and other multi-repository helpers, but packages the workflow as a single Go binary with shell completion and a YAML-first configuration model.

### 时间线

- 2019: Public GitHub repository created.
- 2020-2021: README copyright years indicate early MIT-licensed public development.
- 2026: v0.32.1 release published on GitHub.

### Related projects

- The official project background names gita, gr, meta, mu-repo, myrepos, repo, and vcstool as similar software.
- The README points to the author's `sake` project as a related tool for managing servers.

### 来源

- <https://github.com/alajmo/mani>
- <https://github.com/alajmo/mani#readme>
- <https://github.com/alajmo/mani/blob/main/docs/config.md>
- <https://github.com/alajmo/mani/blob/main/docs/project-background.md>
- <https://github.com/alajmo/mani/releases/tag/v0.32.1>


## 安全说明

没有找到 mani 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: $XDG_CONFIG_HOME/mani/config.yaml, ~/.config/mani/config.yaml
- macOS: ~/Library/Application Support/mani/config.yaml
- Unix: mani.yaml, mani.yml, .mani.yaml, .mani.yml
## 源数据库详情

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

## 其他软件包管理器记录

- Nix - mani: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/mani/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - mani: normalized package name match | MacPorts ports tree: devel/mani/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [gitup](https://pkg.so/zh-hans/brew/gitup/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, git, repository-management.
- [stencil](https://pkg.so/zh-hans/brew/stencil/) - Shares pkgdb curated category or tags: cli, developer-tools, repository-management.
- [microplane](https://pkg.so/zh-hans/brew/microplane/) - Shares pkgdb curated category or tags: cli, developer-tools, git, multi-repo, repository-management.
- [gh](https://pkg.so/zh-hans/brew/gh/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, git.
- [lefthook](https://pkg.so/zh-hans/brew/lefthook/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, git.
- [ghq](https://pkg.so/zh-hans/brew/ghq/) - Shares pkgdb curated category or tags: cli, developer-tools, git, repository-management.
- [repo](https://pkg.so/zh-hans/brew/repo/) - Shares pkgdb curated category or tags: cli, developer-tools, git, repository-management.
- [ghorg](https://pkg.so/zh-hans/brew/ghorg/) - Shares pkgdb curated category or tags: cli, developer-tools, git, repository-management.
- [git-get](https://pkg.so/zh-hans/brew/git-get/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, git, manage.

## Combined YAML source

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


## 来源

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