Installer pgwd
Recommandé : exécutez le script installateur, puis vérifiez avec pgwd version.
Unix (macOS, Linux, WSL)
curl -fsSL https://get.pgwd.hermesrodriguez.com/install.sh | sh
Inspecter avant exécution : curl -fsSL … -o install.sh && less install.sh
Autres méthodes d'installation
| Homebrew | brew install hrodrig/pgwd/pgwd |
| Go install | go install github.com/hrodrig/pgwd/cmd/pgwd@latest |
| Docker | docker pull ghcr.io/hrodrig/pgwd:v1.0.0 |
| GitHub Releases | .deb, .rpm, .tar.gz |
Premier lancement macOS (Gatekeeper)
Les binaires CLI non signés peuvent afficher « Apple n’a pas pu vérifier… » au premier lancement de pgwd. C’est la quarantaine de téléchargement, pas un malware. Supprimez-la une fois :
xattr -dr com.apple.quarantine "$(command -v pgwd)"
Ou Réglages système → Confidentialité et sécurité → Ouvrir quand même. Les casks Homebrew à jour retirent la quarantaine à l’installation.
Premiers pas
$ pgwd --print-sample-config > ./pgwd.conf # adjust $ pgwd -config ./pgwd.conf -dry-run -interval 0
Ajustez pgwd.conf, définissez DSN et seuils, puis dry-run ou daemon (-interval 60). VoirREADME.md.