Appearance
Dependencies
This guide lists the required dependencies for running Cloud Math frontend and backend.
Frontend Dependencies
You will need:
- Node.js
- npm (comes with Node.js)
- Git
Installation
Verify installation (Windows / macOS / Linux):
bash
# Node.js and npm
node -v
npm -v
# Git
git --versionIf not installed, download:
- Node.js: https://nodejs.org/
- Git: https://git-scm.com/
Backend Dependencies
You will need:
- Python 3.10+ (Python)
- pip (comes with Python)
- LaTeX distribution (for pdflatex)
pdf2svg- Git
OS-Specific Installations
Windows
- Node.js & npm: Install from Node.js
- Git: Install from Git
- Python & pip: Install from Python
- LaTeX (pdflatex): Install MikTeX
- Verify:
pdflatex --version
- Verify:
- 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 pdf2svgLinux (General)
Ubuntu / Mint / Debian:
bash
sudo apt update
sudo apt install -y nodejs npm git python3 python3-pip texlive-full pdf2svgFedora:
bash
sudo dnf install -y nodejs npm git python3 python3-pip texlive-scheme-full pdf2svgArch / Manjaro:
bash
sudo pacman -Syu nodejs npm git python python-pip texlive-most pdf2svgNixOS:
bash
nix-env -iA nixpkgs.nodejs nixpkgs.nodePackages.npm nixpkgs.git nixpkgs.python3 nixpkgs.texlive.combined.scheme-full nixpkgs.pdf2svgOther distros:
- Use the package manager to install
nodejs,npm,git,python3,pip,texlive, andpdf2svg.
Verification
bash
# Node.js / npm
node -v
npm -v
# Git
git --version
# Python
python3 --version
pip3 --version
# pdflatex
pdflatex --version
# pdf2svg
pdf2svg --version