Setup: the most efficient offline toolchain

Do this once (~20 minutes with a normal connection, then never again — everything below works with the network cable unplugged). Windows commands shown; macOS/Linux equivalents in each step.

On this page 1 Python2 Manim + manim-slides 3 LaTeX4 VS Code 5 One-keystroke workflow6 Verify everything 7 Going fully offline

1Python 3.9+

Download from python.org → run the installer → tick "Add python.exe to PATH" (the single most common setup mistake is skipping this box).

# check it worked (any terminal):
python --version        # Windows
python3 --version       # macOS / Linux
Tip On Windows, if python opens the Microsoft Store instead of Python, disable the alias: Settings → Apps → Advanced app settings → App execution aliases → turn off both python entries.

2Manim + manim-slides (one command)

pip install manim "manim-slides[pyside6]"
# pyside6 gives you the native presenter window (GUI) — worth having.

That's the entire animation stack. manim-slides pulls in everything it needs, including python-pptx for PowerPoint export.

No FFmpeg install needed. Manim CE ≥ 0.19 encodes video through its bundled PyAV library — you do not have to download or install an ffmpeg binary. (Older tutorials that say otherwise predate this change.)
Which quality flag? While learning use -ql (480p, fast). Only your final render needs -qh (1080p60). Manim caches unchanged animations, so re-renders after small edits are much faster than the first one.

3LaTeX (two valid strategies)

Strategy A — no install (start today)Strategy B — full install (recommended eventually)
WhatUse Manim's Text() and this site's live playgrounds; skip a LaTeX distribution entirely.Install MiKTeX (Windows) or TeX Live / MacTeX.
Gets youEverything except Manim's MathTex/Tex objects.Beautiful math inside animations: MathTex(r"e^{i\pi}+1=0").
Size0 MBMiKTeX basic ≈ 250 MB (auto-installs packages on first use)
Efficient offline choice MiKTeX with "install missing packages on-the-fly = yes", then render one MathTex scene while still online — the handful of packages Manim needs get cached and you're offline-ready forever.

4VS Code

Install VS Code, then just two extensions (more = slower, and defeats the lightweight goal):

ExtensionWhy
Python (Microsoft)IntelliSense + running scripts. Nothing else needed for Manim.
Manim Slides Preview (.vsix, offline — download from GitHub)The ▶-button → auto-preview workflow used in this course; installs from a local file, no marketplace/internet.
# install a .vsix without internet:
code --install-extension manim-slides-preview-1.7.4.vsix   # use the version you downloaded

5The one-keystroke workflow

With the extension installed, the whole edit-render-preview loop collapses to:

You doWhat happens
Open your .py, press ▶Scene rendered → converted to interactive HTML → opens in your browser (or VS Code tab, or the native GUI window — your pick)
Edit, press Ctrl+SOnly changed animations re-render (cache), preview refreshes itself, staying on your current slide
Optional: enable pptxExportA .pptx of your deck is silently kept up to date in the background

No terminal commands, no manual refreshing — your brain stays on the math, not the tooling.

6Verify everything (60 seconds)

manim --version          # e.g. Manim Community v0.19.x
manim-slides --version   # e.g. 5.x
python -c "import pptx; print('pptx OK')"
latex --version          # only if you chose Strategy B

Then render your very first animation:

# save as first.py, then:  manim render -ql -p first.py Hello
from manim import *

class Hello(Scene):
    def construct(self):
        self.play(Write(Text("It works!")))

-p means "play when done" — a video window should pop up. If it does, you're ready for Chapter 1.

7Going fully offline

← BackHome Next chapter →1 · LaTeX