Environment Setup
Prism ships almost everything it needs. The exceptions are the things it cannot legally or practically bundle — a container engine, a couple of GPL-licensed or platform-level tools — and those are what this page is about.
Nothing here is required to open Prism, edit files, view geometry, or run the agent. Each item unlocks one specific capability, and Prism tells you when one is missing rather than failing quietly. The Quick Start tour runs without any of it; only its live CFD solve needs a container engine.
You do not have to install them by hand. When a task needs one, the agent puts an Install card in the chat, and Settings → Local tools installs any of them ahead of time. This page is the reference behind both: what each tool unlocks, and what to do when you would rather install it yourself.
What needs what
| Capability | Needs | Bundled |
|---|---|---|
| Launching Prism | An account and a network connection | — |
| Editor, viewers, 3D viewport | — | — |
| The agent | A network connection | — |
| Ferro structural solves | — | Ships with Prism |
| CAD meshing | mesher | Yes |
| PDF viewing | PDFium | Yes |
| Agent search | rg, fd | Packaged installs |
| Parametric code-CAD | uv + a managed Python env | uv bundled; env synced on first use |
| Third-party solvers | A container engine | No — Prism can install it |
| Alternative meshing | gmsh | No — GPL; Prism can install it |
.pptx / .docx preview | LibreOffice (or Office on Windows) | No — Prism can install it |
| MCP servers that run locally | Node.js (npx) | No — Prism can install it |
| SpaceMouse navigation | 3Dconnexion 3DxWare driver | No |
| Worktrees, gutter markers | git | No — use your system git |
Letting Prism install them
Prism asks for nothing up front. When a task needs one of these tools, the agent puts an Install card in the chat saying what it is for: Install runs the same installer as Settings, the card shows its progress, and the agent carries on once the tool is found. Writing a new message instead tells the agent to go without it. An install that fails stays on the card with its error and a Try again button.
Settings → Local tools has one card per program: what Prism needs it for, a tick box, and the live state of its install. The language servers are on Settings → Editor, with their own Install selected.
| Tool | Default |
|---|---|
| Container engine | Ticked |
| Gmsh | Unticked |
| Office Suite | Unticked |
| Typst | Unticked |
| Node.js | Unticked |
| Pyright | Unticked |
| TypeScript language server | Unticked |
| rust-analyzer | Unticked |
Container engine carries a Recommended badge and is ticked for you; everything else is Optional and unticked.
Its card also carries a picker, because more than one engine will do. The segments are this platform's engines, and the line under them says what the picked one costs you:
| Platform | Offered | Picked for you |
|---|---|---|
| macOS | Colima, Docker Desktop | Colima |
| Windows | Podman, Docker Desktop | Podman |
| Linux | Podman, Docker Engine | Podman |
Colima and Podman are picked because neither needs Docker Desktop's paid
subscription at company size. On macOS, Colima needs no administrator at all;
on Linux the install itself still needs sudo, but running Podman afterwards
does not. Pick Docker Desktop instead if that is what you already run. The
picker locks once that card's install starts.
Install selected (n) runs the ticked installs, Check again re-detects after you install something yourself. Cancel installs joins them while an install is running and stops the whole run; the tool under way and every tool still waiting read Failed with Cancelled. underneath.
Each tool reports on its own row and settles on its own, so a running install does not lock the screen: you can tick another tool and press Install selected again while the first one works. Only a detection pass, which reads Checking…, holds the buttons.
A row reads Checking…, Not installed, Waiting, Downloading n% — Downloading n MB where the size is not known in advance — Installing…, Approval needed, Installed, Restart needed, or Failed with the error underneath. The Office Suite card is named for what it provides rather than for a program: it reads Using LibreOffice once LibreOffice is installed, and on Windows, where an installed PowerPoint and Word between them cover every format LibreOffice would convert, Using Microsoft Office instead. Ticking it installs LibreOffice. A ticked tool you have to install yourself reads Install with the command below.
Continuing does not cancel a running install: it keeps going and reports into Settings → Local tools.
When an install waits on your approval
An install that needs administrator rights stops until you answer the OS. The row reads Approval needed with what to do beside it, and the agent's install card says the same.
Once the wait has lasted more than a moment, Prism also flashes its taskbar button or Dock icon, posts a desktop notification when its window is not in front, and opens a dialog you can dismiss. It is shown once per wait and never stacks.
- Windows — the dialog reads Approve the install in Windows. The prompt is raised by the installer running behind Prism, so Windows only flashes a shield icon in the taskbar rather than bringing the prompt forward: open it and choose Yes. The row reads Approval needed while Windows is showing an elevation prompt and goes back to Installing… once Prism sees it close, so a multi-step install follows each prompt in turn.
- macOS — the dialog reads Enter your password to continue. Type your administrator password into the macOS dialog. That dialog gives no sign when it has been answered, so both the row and Prism's own dialog stay as they are until the install finishes — Got it puts Prism's dialog away in the meantime.
- Linux — Prism runs no system-wide install itself; it gives you the commands to run, so nothing waits on an OS prompt.
Prism cannot raise the OS prompt for you, and dismissing its own dialog does not answer it: the install waits until you do.
What each platform does
-
Windows —
wingetinstalls the engine, Gmsh, LibreOffice, Typst and Node.js one at a time, raising its own UAC prompts. Podman and Docker Desktop both run their containers in a WSL 2 VM, so Prism sets WSL up as part of that install: a pinned WSL package, checked against both its SHA-256 and Microsoft's signature before it runs, and the two Windows features it needs, all under one administrator prompt — the row reads Installing WSL and the Windows features it needs (approve the prompt)…, or Turning on the Windows features WSL needs (approve the prompt)… where the package is already there, and drops the parenthetical once Prism sees the prompt close. When Windows needs a reboot to finish, the row says Restart needed and asks you to restart and reopen Prism. Podman then needs a machine, which setup creates itself — the row reads Creating the Podman machine… while it does, and an install that stopped for a restart before getting there leaves Podman at Machine not created until you press Install selected again, which downloads about 1 GB. After a failure the screen adds a Get App Installer (winget) link, which is the fix whenwingetitself is missing. -
macOS — downloads run with a progress bar, and every step that needs root runs from one script under a single administrator prompt. LibreOffice, Gmsh and Node.js are pinned to a version and checked against a SHA-256. Colima needs no root at all: it goes into Prism's own tools folder with the Docker CLI. Docker Desktop is the current DMG, verified by its Developer ID team, and is opened afterwards so it can finish its own first-run setup.
-
Linux — the package-manager installs need root, so Prism shows the commands instead of running them: one
apt/dnf/pacmanline for the tools you ticked, then whatever the engine you picked still needs, each with a Copy link. Gmsh is a command only on an architecture upstream publishes no build for — on x86_64 Prism installs it itself.Podman is one package and its own user socket, with no group to join:
sudo apt install podman systemctl --user enable --now podman.socketDocker Engine keeps the group step, and the service step everywhere but Debian and Ubuntu:
sudo systemctl enable --now docker sudo usermod -aG docker $USERRun them in a terminal, then press Check again. On a distribution Prism does not recognise there is no package line to give, so the step is an Install Podman or Install Docker Engine link to upstream's instructions instead. Where Gmsh is left to you, Arch installs it with
pipx.
Some installs need no administrator at all: the three language servers on every
platform, Typst on macOS and Linux, and Node.js and Gmsh on x86_64 Linux. They
go into <config>/prism/tools/, which Prism adds to PATH at startup, so a
tool installed mid-session is found without a restart. On Windows, Typst and
Node.js come from winget like the rest, and a winget install is found without
restarting Prism.
Container engine
This is the one that matters. A third-party solver runs on a machine, and a machine on this computer is a container. Without a container engine, Compute → Machines cannot launch one here.
Ferro is unaffected — it ships with Prism and needs no container.
Any of them will do. Prism drives the engine through its own docker or
podman command, so Docker Desktop, Docker Engine, a Podman machine, rootless
Podman, OrbStack and Colima all run the solver images. Setup installs one for
you on macOS and Windows — Colima or Docker Desktop on macOS, Podman or Docker
Desktop on Windows — and on Linux it gives you the commands instead. Either way
it finds one you installed yourself. The sections below are the manual route.
macOS
Colima is what setup installs, into Prism's own tools folder. By hand it is two commands:
brew install colima docker
colima start --cpu 8 --memory 16 --disk 100Docker Desktop for Apple Silicon comes from docker.com instead.
Either way Prism finds the CLI. It searches PATH first, then these known
locations:
/usr/local/bin/docker
/opt/homebrew/bin/docker
/Applications/Docker.app/Contents/Resources/bin/docker That fallback list exists for a reason. Docker Desktop only
symlinks its CLI into /usr/local/bin when you grant it privileged access,
and an app launched from the Dock inherits a stripped PATH either way — so
Prism looks in the known places rather than telling someone who plainly has
Docker that they do not.
Windows
Podman is what setup installs, from winget, and setup creates its machine
afterwards. By hand that is winget install RedHat.Podman and then
podman machine init && podman machine start. Either way WSL 2 has to be on
first; setup turns it on for you.
Docker Desktop is the alternative — install it and pick either install
mode. Prism resolves the CLI from PATH and from both Docker Desktop install
layouts, derived from the environment rather than assuming a drive letter:
| Mode | Location |
|---|---|
| All users | %ProgramFiles%\Docker\Docker\resources\bin |
| Per user (no administrator needed) | %LOCALAPPDATA%\Programs\DockerDesktop\resources\bin |
%ProgramData%\DockerDesktop\version-bin |
The installer puts these on the user PATH, which a Prism process started
before the install never sees. The fallback lookup covers that case, so you do
not have to restart anything.
Linux
Podman is what setup suggests here, as one package and its own user socket — rootless, as your own user, with no daemon or group to join. On Debian and Ubuntu:
sudo apt install podman
systemctl --user enable --now podman.socketFedora reads sudo dnf install, Arch sudo pacman -S --needed.
Docker Engine comes from your distribution or from
docs.docker.com. Add yourself to the
docker group so the daemon is usable without sudo — the group is
root-equivalent, which is the reason Podman is the suggestion:
sudo usermod -aG docker "$USER"
newgrp dockerPrism looks on PATH, then /usr/bin/docker and /usr/local/bin/docker, and
for podman the same way.
Rootless Docker works too, provided the docker CLI on your PATH points at
your rootless daemon.
Verifying
docker run --rm hello-worldThen open Compute → Machines. Available machines starts with Local (this computer). Without a working engine, that row says which state the engine is in: not set up, or set up and not running, with a button to start it where Prism can.
Sizing it
Container CPU and memory limits are set in the engine, not in Prism, and they cap everything a machine on this computer can do. A Docker Desktop VM restricted to 2 CPUs gives a solver 2 cores, whatever rank count the run asks for.
Practical guidance:
- Give the engine's VM as many CPUs as the largest parallel run you plan.
- Memory is the usual cause of a solver killed mid-run with no useful error. 8 GB is a floor for small cases; 16–32 GB is realistic for meshes worth running.
- Give it disk. Solver images are multi-gigabyte each.

File sharing
A machine mounts the one folder you launched it in into the container — that is how the solver reads your case and writes results back where you can see them. Only that folder is visible inside; nothing else on your disk is.
On macOS and Windows, Docker Desktop only shares configured paths. Keep case directories somewhere shared (your home directory is, by default). A case under a path Docker cannot share fails at mount time, not at solve time.
On Linux with Docker, the container runs as the folder's owner, so results come back owned by you rather than by root. Podman and the macOS and Windows engines already map ownership, so Prism leaves it alone there.
Registries
The first launch of a machine with an image pulls it. Between them the images use:
- Docker Hub (
docker.io) — OpenFOAM, Ubuntu - GitHub Container Registry (
ghcr.io) — the Navier-built images
Both must be reachable. Pulls happen inside the engine rather than in Prism, so a proxy belongs in Docker's own configuration — whatever you set there is what a pull uses.
Optional tools
Every tool in this part of the page is in Settings → Local tools and on the agent's Install card, so the commands below are the manual route rather than the only one.
gmsh
Deliberately not bundled: it is GPL-licensed. Prism's own OCCT-backed mesher
covers the common path, and gmsh is there when you want it.
brew install gmsh # macOS
sudo apt install gmsh # Debian/Ubuntu
pip install gmsh # any platform, including WindowsOn x86_64 Linux, Prism installs gmsh itself rather than leaving it to the
package manager: the upstream build goes into <config>/prism/tools/gmsh/, and
it keeps working on a machine whose distro packages would refuse to install the
distro gmsh. Other Linux architectures keep the command above.
On Windows, use pip install gmsh or the SDK from gmsh.info with its bin
folder added to PATH.
Prism resolves gmsh from PRISM_GMSH, then beside its own executable, then
PATH — on macOS and Linux the PATH your login shell has, rather than the
narrower one a GUI launch inherits, so a Homebrew or pip --user install is
found without extra configuration. Prism's own tools folder is on that PATH,
so an install it did needs no further setup. When gmsh is missing, the error
names what to do on the platform you are on; on Linux it points at
Settings → Local tools first.
LibreOffice
Prism previews a .pptx deck or a .docx document by converting it to PDF and
handing the result to the bundled PDFium, and LibreOffice is the converter on
every platform. Without it those files report the gap instead of rendering; see
Documents & Media.
brew install --cask libreoffice # macOS
sudo apt install libreoffice # Debian/Ubuntu
winget install -e --id TheDocumentFoundation.LibreOffice # WindowsOn Windows, an installed Microsoft PowerPoint or Word is used first — the application that authored the format renders it exactly where LibreOffice re-implements it — with LibreOffice as the fallback. Everywhere else LibreOffice is the only engine.
Prism looks for soffice in the usual install locations
(/Applications/LibreOffice.app, /opt/homebrew/bin, /usr/local/bin,
/usr/bin, C:\Program Files\LibreOffice). PRISM_SOFFICE points at an
install those miss.
Conversions are cached per file, so only the first open of a deck pays the few seconds it takes.
typst
Prism has no built-in Typst report compiler. Install Typst to compile authored
.typ files — yours from the command line, or the agent's through the shell.
brew install typstNode.js
Atlassian, GitHub, Linear, Notion and Sentry are hosted servers that authenticate
through your browser, so none of them need Node.js. An MCP server you add
yourself may run as a local child process via npx, and that one does.
3DxWare
For a 3Dconnexion SpaceMouse. Prism talks to the 3DxWare driver rather than the device directly, so without the driver there is nothing to talk to. Install it from 3Dconnexion, then check Settings → 3D viewport → 3D mouse is on.
git
Used for the editor's gutter markers, the git commands in the command palette,
and per-thread worktrees. Prism shells out to your system git binary rather
than a bundled one — git's own worktree command handles the corner cases that a
library leaves to the caller.
Any recent git will do.
Language servers
Editor diagnostics, hover, completion, and rename come from the Language Server Protocol, so a language gets them when a server for it is installed on your machine. No server, no diagnostics — the editor still works.
Pyright, the TypeScript language server, and rust-analyzer are the three Prism
installs for you. Pyright and the TypeScript server are npm packages that run
on Node.js: installing them from Settings → Editor puts in a missing Node.js
first, and the page says so before you start. The npm packages are installed
last in a pass, after Node.js, so both can go in one — and in one
npm install, so ticking either server installs both. The one you left
unticked reads Not installed until the next Check again.
The managed Python environment
The agent's Python scripts (prism_python_run), including the build123d
scripts it models parts with, run in a hermetic, pinned Python environment that Prism
manages for you — Python 3.12 with numpy, scipy, pandas, matplotlib, pyvista,
CoolProp, Cantera, gmsh, build123d and bd_warehouse. You do not install any of it
yourself, and your own Python setup is never used.
- The environment is synced to
<config>/prism/python-env/the first time it is needed, using the bundleduv. - That first sync downloads wheels, so it needs a network connection and a minute. Later runs reuse it and re-sync only when the pinned lock changes.
uvships beside the Prism executable in packaged installs. In a hand-assembled install,brew install uv(or anyuvonPATH) works.PRISM_PYTHONbypasses the managed environment entirely and uses an interpreter you point at — at which point its dependencies are yours to keep working.
A script that needs a package the environment does not pin gets it for that run
— the agent names the package, points at a requirements.txt in the project,
or, for a script a skill ships, declares it in the script's own # /// script
header — resolved together with the base pins, so an incompatible addition
fails before the script runs rather than breaking a bundled import halfway
through. What a project script needs is recorded next to it under the script's
own name — solve.py gets solve.prism-python.json — which a later run of the
same file reuses; a skill's own script carries its header instead and gets no
such file. None of this edits the environment above.
Where that is not enough — a project with its own pyproject.toml or lockfile,
a dependency that conflicts with the pins, another Python version, an editable
install — the agent is told to work in that project's own environment through
the shell instead, leaving both your project's configuration and this
environment alone.
Network access
| Reached for | Host |
|---|---|
| Sign-in | Navier AI's Auth0 tenant |
| The agent | api.navier.ai on stable builds |
| Updates | releases.navier.ai |
| Solver images | docker.io, ghcr.io |
| Python env sync | The Python package index |
Sign-in uses a PKCE flow that returns to a loopback callback on port 19275. A local firewall that blocks loopback listeners will break sign-in; nothing outside your machine needs to reach that port.
Environment variables
Mostly for development and unusual installs. None are needed for a normal setup.
| Variable | Effect |
|---|---|
PRISM_GMSH | Path to a gmsh binary or pip-installed script |
PRISM_PYTHON | Interpreter to use instead of the managed Python environment |
PRISM_SOFFICE | Path to a LibreOffice soffice binary |
PRISM_OFFICE_CONVERTER | Pin the Office converter (libreoffice, powerpoint, word) |
PRISM_SKIP_PDFIUM_FETCH | Skip fetching PDFium (offline and vendored builds) |
Keep the install directory intact
Prism resolves mesher, PDFium, and the bundled rg/fd/uv relative to
its own executable:
macOS Prism.app/Contents/MacOS/Prism → ../Resources/bin/…
Linux <install>/Prism → <install>/bin/…
Windows <install>\Prism.exe → <install>\bin\…Copying the Prism binary somewhere on your PATH silently loses all of it.
Launch it from where it was installed, or symlink to it — do not move it out.
The bundled bin directory is appended to PATH, not prepended, so a
brew-installed rg of your own still wins. Prism only contributes a floor.
Checklist
Before your first real session:
- Prism launches and you are signed in — Settings → Account.
- Settings → Local tools → Bundled tools shows them resolved.
docker run --rm hello-worldworks, if you intend to use third-party solvers.- Compute → Machines lists Local (this computer) with no engine warning under it.
- The Docker VM has CPU, memory, and disk matching the size of case you actually plan to run.
gmshand LibreOffice installed, if you want alternative meshing or.pptx/.docxpreview — from Settings → Local tools, or by hand. Typst only if.typfiles get compiled; Prism does not generate report PDFs on its own.
If something on that list fails, Troubleshooting takes each case in turn.