3b1b / manim
Get started
Taken from the repository's own files on 23 Oct 2026. RepoPilot has not run these commands.
Prerequisites
The files RepoPilot read do not name a runtime version or package manager.
Commands
No scripts found at the top level of the repository. Check pyproject.toml .
Install and use
README.md[!Warning] WARNING: These instructions are for ManimGL only. Trying to use these instructions to install Manim Community/manim or instructions there to install this version will cause problems. You should first decide which version you wish to install, then only follow the instructions for your desired version.
[!Note] Note: To install manim directly through pip, please pay attention to the name of the installed package. This repository is ManimGL of 3b1b. The package name is
manimglinstead ofmanimormanimlib. Please usepip install manimglto install the version in this repository.
Manim runs on Python 3.10 or higher.
System requirements are FFmpeg, OpenGL and LaTeX (optional, if you want to use LaTeX). For Linux, Pango along with its development headers are required. See instruction here.
Directly
# Install manimgl
pip install manimgl
# Try it out
manimgl
For more options, take a look at the Using manim sections further below.
If you want to hack on manimlib itself, clone this repository and in that directory execute:
# Install manimgl
pip install -e .
# Try it out
manimgl example_scenes.py OpeningManimExample
# or
manim-render example_scenes.py OpeningManimExample
Linux (Ubuntu/Debian)
- Install system dependencies.
sudo apt update
sudo apt install ffmpeg
sudo apt install python3-pip
sudo apt install libpango1.0-dev
- Install a lightweight LaTeX distribution (optional, for LaTeX rendering).
sudo apt install texlive-science texlive-fonts-extra texlive-latex-extra
This lightweight setup is significantly smaller than installing texlive-full
while still supporting most Manim projects.
- Clone and install ManimGL.
git clone https://github.com/3b1b/manim.git
cd manim
python3 -m pip install -e .
manimgl example_scenes.py OpeningManimExample
It is recommended to use a virtual environment to avoid conflicts with system packages.
sudo apt install python3-venv
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -e .
If python3-venv is unavailable on your system, try installing the version-specific package instead:
sudo apt install python3.12-venv