Downloads of v


Last Update:

20 Feb 2021

Package Maintainer(s):

Software Author(s):

  • Manim Contributors


manim python animation math

ManimCE Install | Updated: 20 Feb 2021



Downloads of v


Software Author(s):

  • Manim Contributors

ManimCE Install

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test

Validation Testing Passed

Verification Testing Exempt:

Dependency requires reboot

To install ManimCE Install, run the following command from the command line or from PowerShell:


To upgrade ManimCE Install, run the following command from the command line or from PowerShell:


To uninstall ManimCE Install, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade manimce -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade manimce -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure manimce installed
    name: manimce
    state: present
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'manimce' do
  action    :install
  version  ''
  source   'STEP 3 URL'

See docs at

    Name: manimce,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller manimce
   Name     = 'manimce'
   Ensure   = 'Present'
   Version  = ''
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'manimce':
  provider => 'chocolatey',
  ensure   => '',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install manimce version="" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 20 Feb 2021.


Manim is an animation engine written in Python primarily used to create explanatory math videos such as those of 3Blue1Brown. It allows for the creation of precise animations programmatically. For more info, see the GitHub repo.

This package aims to simplify the historically painful process of setting up Manim on Windows. After installation you can execute your animation scripts with manim <file>.py.

File any issues at

NOTE: This package installs the community version of manim, which is different from, mainly because it is developed by a team of volunteer developers. This software is currently under development and may be out of date, unstable, buggy, or not even run at all when installed.

This installs manim using pip with its dependencies.

NOTE: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly.

$InstallLocation = Get-ToolsLocation
Copy-Item -LiteralPath "$InstallLocation\Manim\installInfo.json" -Destination "$InstallLocation" -Force
Remove-Item $InstallLocation\Manim -Recurse
mkdir $InstallLocation\Manim
Copy-Item -LiteralPath "$InstallLocation\installInfo.json" -Destination "$InstallLocation\Manim" -Force
$ErrorActionPreference = 'Stop';
$InstallLocation = Get-ToolsLocation
$version = '0.3.0'

$python = (Get-Command python).source #to lock over specific python version
if ($null -eq $python) {
  $python = (Get-Command python).Definition #support powershell 4 as it has different syntax for above one

Write-Host "Found python at '$python' using it."
Write-Host "Using python version $(python --version --version)" -ForegroundColor Red
$sitePackageFolder = & "$python" -c "import sysconfig;print(sysconfig.get_path('purelib'))"
New-Item -ItemType Directory -Force -Path "$sitePackageFolder"
$install = @{
  "python"            = $python
  "sitePackageFolder" = $sitePackageFolder
}  | ConvertTo-Json
New-Item -ItemType Directory -Force -Path "$InstallLocation\Manim"
New-Item "$InstallLocation\Manim\installInfo.json" -Force -ItemType file -Value $install #save install info

Write-Host "Upgrading pip and install Wheel" -ForegroundColor Yellow
& "$python" -m ensurepip
& "$python" -m pip install --upgrade pip wheel

Write-Host "Installing Manim to $InstallLocation\Manim"
& "$python" -m pip install "manim==$version" --no-cache --compile --prefix="$InstallLocation\Manim" --no-warn-script-location --log="pip.log"

Write-Host "Making $python detect the Manim"
New-Item -ItemType Directory -Force -Path "$sitePackageFolder"
$pthFilePath = "$sitePackageFolder\manimce.pth"
$pthFileContent = "$InstallLocation\Manim\Lib\site-packages"
$Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False
[System.IO.File]::WriteAllLines($pthFilePath, $pthFileContent, $Utf8NoBomEncoding)

Write-Host "Adding $InstallLocation\Manim\Scripts to `$PATH"
Install-ChocolateyPath "$InstallLocation\Manim\Scripts" 'Machine'
$ErrorActionPreference = 'Stop';
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
$InstallLocation = Get-ToolsLocation
. $toolsPath\helper.ps1
Uninstall-ChocolateyPath "$InstallLocation\Manim\Scripts"

$installInfo = Get-Content "$InstallLocation\Manim\installInfo.json" | ConvertFrom-JSON
Remove-Item `
  -Path "$($installInfo.sitePackageFolder)\manimce.pth" `
if (!(Test-Path function:\Uninstall-ChocolateyPath)) {
  function Uninstall-ChocolateyPath {
      [System.EnvironmentVariableTarget] $pathType = [System.EnvironmentVariableTarget]::User

    Write-Debug "Running 'Uninstall-ChocolateyPath' with pathToRemove: `'$pathToRemove`'"

    # get the PATH variable
    $envPath = $env:PATH
    if ($envPath.ToLower().Contains($pathToRemove.ToLower())) {
      Write-Host "The PATH environment variable already contains the directory '$pathToRemove'. Removing..."
      $actualPath = Get-EnvironmentVariable -Name 'Path' -Scope $pathType -PreserveVariables

      $newPath = $actualPath -replace [regex]::Escape($pathToRemove + ';'),'' -replace ';;',';'

      if (($pathType -eq [System.EnvironmentVariableTarget]::Machine) -and !(Test-ProcessAdminRights)) {
        Write-Warning "Removing path from machine environment variable is not supported when not running as an elevated user!"
      } else {
        Set-EnvironmentVariable -Name 'Path' -Value $newPath -Scope $pathType

      $env:PATH = $newPath

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
ManimCE Install 84 Monday, February 8, 2021 Approved
ManimCE Install 0.3.0 25 Tuesday, February 2, 2021 Approved
ManimCE Install 11 Friday, January 15, 2021 Approved
ManimCE Install 0.2.0 615 Saturday, January 2, 2021 Approved
ManimCE Install 0.1.1 278 Saturday, December 5, 2020 Approved
ManimCE Install 33 Wednesday, November 25, 2020 Approved
ManimCE Install 0.1.0 472 Friday, October 23, 2020 Approved

Discussion for the ManimCE Install Package

Ground Rules:

  • This discussion is only about ManimCE Install and the ManimCE Install package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or ManimCE Install, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus