Installation Guide
Installation
Section titled “Installation”System Requirements
Section titled “System Requirements”| Component | Minimum Version |
|---|---|
| Go | 1.22+ |
| Python | 3.10+ |
| OS | Linux, macOS |
Note: PyGo does NOT require pnpm, npm, or Node.js. It uses Go and Python natively.
Install Go
Section titled “Install Go”Linux (Ubuntu/Debian)
Section titled “Linux (Ubuntu/Debian)”sudo apt updatesudo apt install golang-gobrew install goInstall Python
Section titled “Install Python”Linux (Ubuntu/Debian)
Section titled “Linux (Ubuntu/Debian)”sudo apt install python3 python3-venv python3-pipbrew install python@3.11Install PyGo
Section titled “Install PyGo”Option 1: Universal Installer (Recommended)
Section titled “Option 1: Universal Installer (Recommended)”curl -fsSL https://pygo.dev/install.sh | bashexport PATH="$HOME/.local/bin:$PATH"This installs from GitHub releases: Ander-Labs/pygo.
Option 2: From Source
Section titled “Option 2: From Source”git clone https://github.com/Ander-Labs/pygo.gitcd pygogo build -o pygo ./cmd/pygosudo mv pygo /usr/local/bin/Option 3: From GitHub Releases (when available)
Section titled “Option 3: From GitHub Releases (when available)”# Download the latest releasecurl -L https://github.com/Ander-Labs/pygo/releases/latest/download/pygo-linux-amd64 -o /usr/local/bin/pygochmod +x /usr/local/bin/pygoNote: PyPI package (
pip install pygo-framework) is not yet available. Use source installation for now.
Project Setup
Section titled “Project Setup”After installing PyGo globally, create a new project:
pygo new myappcd myapp./install.sh # Installs Python dependencies in venvVerify Installation
Section titled “Verify Installation”pygo versionExpected output:
PyGo Framework v1.0.0Go runtime: go1.22+Python runtime: 3.10+