Installing PG on Windows
Installation Guide (Windows)
This guide will help you install PG on Windows (10/11).
Windows Support
Windows Version | Architecture | Package Manager | Support Level |
---|---|---|---|
Windows 11 | x64 / ARM64 | Winget, Scoop | ✅ Full |
Windows 10 (21H2+) | x64 only | Winget, Scoop | ✅ Full |
Windows 10 (older) | x64 | Manual 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
- Install Optional Tools (GUI)
Visual Studio Code
winget install Microsoft.VisualStudioCode
# GitHub Desktop
winget install GitHub.GitHubDesktop
- Clone PG Repository
git clone https://github.com/pg-cv/pg.git
cd pg
- Install Dependencies
npm install
- Start PG
npm run start
Troubleshooting
If winget is not available, install Node.js + Git manually:
If you see execution policy errors in PowerShell:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
You now have PG running on Windows.