# 使用 Homebrew, Nix, chocolatey 安装 manim

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

## 安装

```sh
sudo av install brew:manim
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install manim
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#manim
```

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

### Windows

- Chocolatey (92%):

```sh
choco install manimce
```

  证据: Chocolatey community package catalog: manimce from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','logexpert'

## 软件包事实

- **软件包键:** brew:manim
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/manim>
- **版本:** 0.20.1
- **来源摘要:** Animation engine for explanatory math videos
- **主页:** <https://www.manim.community>
- **仓库:** <https://github.com/manimCommunity/manim>
- **上游文档:** <https://www.manim.community>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/dc/3b/ad54ce02f3e95d17d016cb1254708ae3795b60d5661f3b2085655940a565/manim-0.20.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- manim (cli)
- manimce (cli)
- manim (别名)
- manimce (别名)

## 依赖

- cairo
- ffmpeg
- fontconfig
- freetype
- gettext
- glib
- harfbuzz
- numpy
- pango
- pillow
- py3cairo
- python@3.14
- scipy

## 构建依赖

- cmake
- ninja
- pkgconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.20.1
- 本地数据: OK
- 上游仓库: https://www.manim.community
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Manim is a Python animation engine for creating explanatory math videos programmatically. The Homebrew formula packages the Manim Community Edition, the community-maintained version of the tool associated with Grant Sanderson's 3Blue1Brown math videos.

### 项目历史

The original `3b1b/manim` repository was created in March 2015 and is described as an animation engine for explanatory math videos. The Manim Community README says the community edition was forked from Grant Sanderson's original 3Blue1Brown tool and is recommended by the community project for continued development, improved features, stronger documentation, and more active community maintenance.

The ManimCommunity/manim repository was created in May 2020 under the ManimCommunity organization. Its README describes Manim as an engine for precise programmatic animations and points users to the original 3Blue1Brown repository when they want to study how Grant Sanderson makes his videos.

### 采用历史

Manim's adoption is closely tied to educational math video production, Python notebooks, and reproducible animation scripts. The official README links to PyPI, Docker Hub, Binder examples, a Discord server, a Reddit community, and Read the Docs documentation, which shows a broad community packaging surface beyond a single source checkout.

By 2026 the community repository had tens of thousands of GitHub stars and thousands of forks, while the original 3Blue1Brown repository remained even larger. That split is important for package users: formulae and Python packages generally target the community edition, while the 3Blue1Brown repository is still a separate upstream lineage.

### 使用方式

Typical usage defines a Python `Scene` class, then runs a command such as `manim -p -ql example.py SquareToCircle` to render and preview an animation. The documentation also covers CLI flags, `manim.cfg` files, the global `config` object, Docker usage, and a `%%manim` IPython magic for Jupyter workflows.

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

Manim is package-nerd interesting because it combines a Python API, a CLI renderer, native graphics and video dependencies, optional Docker packaging, notebook integration, and a historically visible fork distinction between 3Blue1Brown's original code and the community edition.

### 时间线

- 2015: Original 3Blue1Brown Manim repository created.
- 2020: Manim Community repository created.
- 2025: v0.19.0 community release published.
- 2026: v0.20.1 community release published.

### Related projects

- 3b1b/manim is the original Grant Sanderson repository.
- ManimCommunity/jupyter_examples provides Binder-backed notebook examples linked from the official README.
- The community project publishes a Docker image as `manimcommunity/manim`.

### 来源

- <https://docs.manim.community/en/stable>
- <https://docs.manim.community/en/stable/guides/configuration.html>
- <https://github.com/3b1b/manim>
- <https://github.com/ManimCommunity/manim>
- <https://github.com/ManimCommunity/manim#readme>
- <https://github.com/ManimCommunity/manim/releases/tag/v0.20.1>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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: <scene-directory>/manim.cfg, ~/.config/manim/manim.cfg
- macOS: <scene-directory>/manim.cfg, ~/.config/manim/manim.cfg
- Windows: <scene-directory>/manim.cfg, UserDirectory/AppData/Roaming/Manim/manim.cfg
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** manim
- **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 - manim: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/manim/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Chocolatey - manimce: installed executable or alias match | Chocolatey community package catalog: manimce from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','logexpert'


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [glib](https://pkg.so/zh-hans/brew/glib/) - Runtime dependency declared by Homebrew.
- [harfbuzz](https://pkg.so/zh-hans/brew/harfbuzz/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Runtime dependency declared by Homebrew.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Runtime dependency declared by Homebrew.
- [fontconfig](https://pkg.so/zh-hans/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [freetype](https://pkg.so/zh-hans/brew/freetype/) - Runtime dependency declared by Homebrew.
- [pango](https://pkg.so/zh-hans/brew/pango/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/zh-hans/brew/ninja/) - Build dependency declared by Homebrew.
- [vapoursynth](https://pkg.so/zh-hans/brew/vapoursynth/) - Shares pkgdb curated category or tags: cli, media, python, video.
- [streamlink](https://pkg.so/zh-hans/brew/streamlink/) - Shares pkgdb curated category or tags: cli, media, python, video.
- [bilix](https://pkg.so/zh-hans/brew/bilix/) - Shares pkgdb curated category or tags: cli, media, python, video.
- [animdl](https://pkg.so/zh-hans/brew/animdl/) - Shares pkgdb curated category or tags: cli, media, python, video.
- [dav1d](https://pkg.so/zh-hans/brew/dav1d/) - Shares pkgdb curated category or tags: cli, media, video.
- [aom](https://pkg.so/zh-hans/brew/aom/) - Shares pkgdb curated category or tags: cli, media, video.
- [libvmaf](https://pkg.so/zh-hans/brew/libvmaf/) - Shares pkgdb curated category or tags: cli, media, video.
- [mlt](https://pkg.so/zh-hans/brew/mlt/) - Both packages work with overlapping file formats or content types. Shared terms: cli, ffmpeg, fontconfig, freetype, gettext.
- [synfig](https://pkg.so/zh-hans/brew/synfig/) - Local package facts share a topical domain. Shared terms: animation, cairo, cli, ffmpeg, fontconfig.
- [dvr-scan](https://pkg.so/zh-hans/brew/dvr-scan/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, ffmpeg, media, numpy, pillow.

## Combined YAML source

View the package source record on GitHub. [combined/manim.yml](https://github.com/mxcl/pkgdb/blob/main/combined/manim.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
