Manim is a Python based tool that creates animations of math and technical concepts.
This blog post covers how to install Manim Community Edition on Windows 10 & 11. For a more detailed description of the installation method, including for other OSs, Docker and web, visit the official Manim Community Edition installation pages .
Manim requires Python. If your Windows device has winget , install Python with:
1winget install Python.Python.3
If you don’t have
winget, then download the Python installer
This is optional, but recommended. Installing MikTex will enable Manim to draw equations (such as $y=x^2$) in your animations.
1winget install ChristianSchenk.MiKTeX
If you don’t have
winget, then download the MikTex installer
Manim requires Ffmpeg, to generate animations as video files. At the time of writing, Ffmpeg is not available to install via
- Download .zip file ffmpeg-master-latest-win64-gpl.zip from the releases page of the GitHub repository .
- Unzip the archive to extract folder
ffmpeg-master-latest-win64-gpl, move this folder into your
Documentsfolder. For example if the Windows user is called fred then
Documentswould be located at
- To enable Manim to find Ffmpeg, add a new entry to
Path, in the User section of Environment variables, do that by…
- Press the Windows key and start typing “env”, select the top search result “Edit the system environment variables”.
System Propertieswindow will appear, click the button
- A 2nd window will appear, titled
Environment Variables. In the top section, titled
User variables for fred, click the entry labelled
Path, then the
- A 3rd window wil be displayed, titled
Edit environment variable, click on the
- Enter the full path to the
ffmpeg-master-latest-win64-gpl, for example:
- Click the
Okbutton. Close all 3 windows regarding environment variables.
To ensure all of the above changes have taken effect, restart the PC.
Manim is a Python package, installed by Python’s package manager,
pip. To reduce future problems caused dependency conflicts, Manim can be installed in a Python virtual environment.
- Create a new folder, to contain your Python (Manim) project, for example
ManimDev, open a terminal, create a new Python virtual environment, called “.venv”
1python -m venv .venv
- Start .venv
- Install Manim
1pip install manim
To stop the .venv virtual environment
Restart .venv with…