Skip to content
publik.
Browse appsBrowsePricing
+Publish a repoPublish
Browse appsHow it worksPublish a repoGet helpPricingDevelopersGitHubPrivacy
© 2026 Publik
All apps/OpenMath/Install/macOS

How to install OpenMath on Mac

OpenMath does what Photomath does, and Photomath costs Paid. This guide gets you the free one.

What you end up with

OpenMath running in your browser, on your own computer. It is free, and it stays free — there is no account, no trial and no subscription at the end of this.

Time
About 28 minutes
Steps
12
Cost
Free

Read this first

Assembled from the submission questionnaire with zero model calls. No founder has reviewed this guide yet.

Before you start

These are one-time installs. If you have used Terminal before, you may have them already — the first step checks.

  1. 1

    Install Git

    Apple opens a small installer.

    Type this into Terminal, then press Return.

    xcode-select --install

    You know this worked when: Git responds with a version number

  2. 2

    Install Node LTS

    Choose the macOS Installer (.pkg).

    Open download ↗

    You know this worked when: Node responds with a version number

Install OpenMath

  1. 3

    Open Terminal

    Keep it open beside this page.

    You know this worked when: Terminal is open

  2. 4

    Check Git and Node

    Git and the current Node LTS are required.

    Type this into Terminal, then press Return.

    git --version
    node --version

    You know this worked when: Git and Node respond with version numbers

  3. 5

    Install pnpm

    The app is a pnpm project.

    Type this into Terminal, then press Return.

    mkdir -p "$HOME/.npm-global/bin"
    npm install -g --prefix "$HOME/.npm-global" pnpm
    grep -qsxF 'export PATH="$HOME/.npm-global/bin:$PATH"' "$HOME/.zshrc" || echo 'export PATH="$HOME/.npm-global/bin:$PATH"' >> "$HOME/.zshrc"
    export PATH="$HOME/.npm-global/bin:$PATH"

    You know this worked when: pnpm responds with a version number

  4. 6

    Copy OpenMath to this Mac

    Type this into Terminal, then press Return. The first line moves you into the folder this step runs in, so it works in a window you have just opened.

    cd ~
    if [ ! -d openmath/.git ]; then
    git clone https://github.com/shaurya202/openmath.git
    fi

    You know this worked when: A openmath folder appears

  5. 7

    Open the OpenMath folder

    Type this into Terminal, then press Return. The first line moves you into the folder this step runs in, so it works in a window you have just opened.

    cd ~
    cd openmath

    You know this worked when: Your terminal prompt is inside the openmath folder

  6. 8

    Use the reviewed version

    Type this into Terminal, then press Return. The first line moves you into the folder this step runs in, so it works in a window you have just opened.

    cd ~/openmath
    git checkout 7a8e2662ff20bad28bbca3944b21ca77c8a91a97

    You know this worked when: Git reports the reviewed commit

  7. 9

    Install dependencies

    Type this into Terminal, then press Return. The first line moves you into the folder this step runs in, so it works in a window you have just opened.

    cd ~/openmath
    pnpm install

    You know this worked when: The command finishes without an error

  8. 10

    Run OpenMath

    Keep Terminal open.

    Type this into Terminal, then press Return. The first line moves you into the folder this step runs in, so it works in a window you have just opened.

    cd ~/openmath
    pnpm run dev

    You know this worked when: localhost:3000 responds

  9. 11

    Open it in your browser

    If a different port was picked, open that one instead.

    Open localhost:3000 ↗

    You know this worked when: The app loads in the browser

  10. 12

    Try it

    OpenMath should be open in your browser.

    You know this worked when: OpenMath works

If something goes wrong

Nothing here can damage your computer, and every step can be run again safely. If a command fails, the usual cause is the step before it not having finished.

Still stuck? Tell us what happened and we will fix the guide. Include the step number and we can usually reproduce it.

Have a different setup?

  • How to install OpenMath on Windows →

This guide follows shaurya202/openmath at the reviewed version 7a8e266. Pinning the version is why the commands here keep working after the project changes.

Back to OpenMath →