# 使用 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
- **版本:** 0.20.1
- **来源摘要:** Animation engine for explanatory math videos
- **主页:** <https://www.manim.community>
- **仓库:** <https://github.com/manimCommunity/manim>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.20.1
## 项目历史与用法

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
## 其他软件包管理器记录

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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
