Skip to content

Installation Guide

This page covers installing the PyGo CLI in depth: the installer script, environment variables, manual download from GitHub releases, self-update, checksum verification, and troubleshooting.

Component Minimum version
Go 1.26.6+
Python 3.11+
OS Linux, macOS, Windows

PyGo itself does not require Node.js. It is a Go + Python framework. (Node is only needed to build this documentation site.)

Section titled “Option 1 — Universal installer script (recommended)”

The script downloads the raw binary pygo-v{ver}-{os}-{arch} for your platform, verifies checksums.txt, and installs to ~/.local/bin:

Terminal window
curl -sL https://raw.githubusercontent.com/PyGo-Labs/pygo-framework/main/install.sh | bash
export PATH="$HOME/.local/bin:$PATH"
Variable Purpose Default
PYGO_VERSION Pin a specific release (e.g. 2.2.4). latest release
PYGO_INSTALL_DIR Where the binary is installed. ~/.local/bin

Example:

Terminal window
PYGO_VERSION=2.2.4 PYGO_INSTALL_DIR="$HOME/.bin" \
curl -sL https://raw.githubusercontent.com/PyGo-Labs/pygo-framework/main/install.sh | bash

Option 2 — Manual download from GitHub Releases

Section titled “Option 2 — Manual download from GitHub Releases”

Download the binary for your platform directly from the releases page and place it on your PATH:

Terminal window
# Linux amd64
curl -L https://github.com/PyGo-Labs/pygo-framework/releases/latest/download/pygo-v2.2.4-linux-amd64 -o ~/.local/bin/pygo
chmod +x ~/.local/bin/pygo
# macOS arm64
curl -L https://github.com/PyGo-Labs/pygo-framework/releases/latest/download/pygo-v2.2.4-darwin-arm64 -o ~/.local/bin/pygo
chmod +x ~/.local/bin/pygo

Available platform binaries:

  • pygo-v{ver}-linux-amd64
  • pygo-v{ver}-linux-arm64
  • pygo-v{ver}-darwin-amd64
  • pygo-v{ver}-darwin-arm64
  • pygo-v{ver}-windows-amd64

Each release also publishes checksums.txt (SHA-256) for verification.

After downloading, verify the binary against the published checksums:

Terminal window
curl -L https://github.com/PyGo-Labs/pygo-framework/releases/latest/download/checksums.txt -o checksums.txt
sha256sum -c --ignore-missing checksums.txt

The installer script performs this verification automatically.

Option 3 — Self-update with pygo upgrade

Section titled “Option 3 — Self-update with pygo upgrade”

If you already have the CLI, upgrade it in place:

Terminal window
pygo upgrade

pygo upgrade downloads the latest raw binary, verifies checksums.txt, and installs it over the current one.

Terminal window
pygo new myapp
cd myapp
pygo dev

pygo: command not found Your install directory is not on PATH. Run export PATH="$HOME/.local/bin:$PATH" (or your PYGO_INSTALL_DIR), or add it to your shell profile.

Checksum verification failed The download was interrupted or the release was repointed. Re-run the installer, or manually verify with sha256sum -c as shown above.

pygo dev cannot start Python Ensure python3 is on PATH (matches python.interpreter in pygo.toml). Run pygo doctor to diagnose project health.

Wrong version installed Pin a version with PYGO_VERSION=2.2.4 for the installer, or run pygo upgrade after setting the desired release.