Skip to main content

Installing PG on Windows


Installation Guide (Windows)

This guide will help you install PG on Windows (10/11).


Windows Support

Windows VersionArchitecturePackage ManagerSupport Level
Windows 11x64 / ARM64Winget, Scoop✅ Full
Windows 10 (21H2+)x64 onlyWinget, Scoop✅ Full
Windows 10 (older)x64Manual Install⚠️ Partial

Prerequisites

  • Node.js v18+ (with npm)
  • git
  • Package Manager (optional):

Installation Steps

1. Install Node.js & git (with Winget)

Open PowerShell (Admin) and run:

# Update winget
winget upgrade --all

# Install Node.js (LTS)
winget install OpenJS.NodeJS.LTS

# Install Git
winget install Git.Git

Check versions:

node -v
npm -v
git --version

  1. Install Optional Tools (GUI)

Visual Studio Code

winget install Microsoft.VisualStudioCode

# GitHub Desktop
winget install GitHub.GitHubDesktop

  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

Troubleshooting

If winget is not available, install Node.js + Git manually:

Node.js LTS Download

Git for Windows

If you see execution policy errors in PowerShell:

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

You now have PG running on Windows.