Skip to content

Dependencies

This guide lists the required dependencies for running Cloud Math frontend and backend.

Frontend Dependencies

You will need:

Installation

Verify installation (Windows / macOS / Linux):

bash
# Node.js and npm
node -v
npm -v

# Git
git --version

If not installed, download:

Backend Dependencies

You will need:

  • Python 3.10+ (Python)
  • pip (comes with Python)
  • LaTeX distribution (for pdflatex)
  • pdf2svg
  • Git

OS-Specific Installations

Windows

  1. Node.js & npm: Install from Node.js
  2. Git: Install from Git
  3. Python & pip: Install from Python
  4. LaTeX (pdflatex): Install MikTeX
    • Verify: pdflatex --version
  5. pdf2svg: Install via WSL or use binaries

macOS

bash
# Install Homebrew if not installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Node.js & npm
brew install node

# Python
brew install python

# Git
brew install git

# LaTeX
brew install --cask mactex

# pdf2svg
brew install pdf2svg

Linux (General)

Ubuntu / Mint / Debian:

bash
sudo apt update
sudo apt install -y nodejs npm git python3 python3-pip texlive-full pdf2svg

Fedora:

bash
sudo dnf install -y nodejs npm git python3 python3-pip texlive-scheme-full pdf2svg

Arch / Manjaro:

bash
sudo pacman -Syu nodejs npm git python python-pip texlive-most pdf2svg

NixOS:

bash
nix-env -iA nixpkgs.nodejs nixpkgs.nodePackages.npm nixpkgs.git nixpkgs.python3 nixpkgs.texlive.combined.scheme-full nixpkgs.pdf2svg

Other distros:

  • Use the package manager to install nodejs, npm, git, python3, pip, texlive, and pdf2svg.

Verification

bash
# Node.js / npm
node -v
npm -v

# Git
git --version

# Python
python3 --version
pip3 --version

# pdflatex
pdflatex --version

# pdf2svg
pdf2svg --version