Skip to main content

Installing PG on MacOS


Installation Guide (macOS)

This guide will help you install PG on macOS (both Intel and Apple Silicon).


macOS Support

macOS VersionChipsetPackage ManagerSupport Level
Ventura+Intel / M1 / M2+Homebrew✅ Full
MontereyIntel / M1Homebrew✅ Full
Big SurIntel / M1Homebrew⚠️ Partial

Prerequisites

  • Homebrew package manager
  • Node.js v18+
  • git

Installation Steps

1. Install Homebrew (if not already installed)

Run this in Terminal:

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

Verify installation:

brew --version

  1. Install Node.js & git (CLI tools)
brew install node git

Check versions:

node -v
npm -v
git --version

  1. Install Optional GUI Tools (with Homebrew Cask)

If you prefer a GUI code editor or Git client, install via brew cask:

Visual Studio Code

brew install --cask visual-studio-code

GitHub Desktop

brew install --cask github

iTerm2 (better terminal)

brew install --cask iterm2

  1. Clone PG Repository
git clone https://github.com/pg-cv/pg.git
cd pg

  1. Install Dependencies
npm install

  1. Start PG
npm run start

You now have PG running on macOS (with optional GUI tools if installed).