Aller au contenu

Installation

Homebrew (macOS / Linux)

brew install GreyCoderK/tap/lore

Go Install

Nécessite Go 1.21+ :

go install github.com/greycoderk/lore@latest

Binaires pré-compilés

curl -sSfL https://raw.githubusercontent.com/GreyCoderK/lore/main/install.sh | sh

Ou télécharger directement depuis GitHub Releases et placer le binaire dans votre PATH.

Vérifier l'installation

lore --version
# lore v1.0.0 (abc1234)

Dépannage

macOS : "impossible d'ouvrir car le développeur ne peut pas être vérifié"

xattr -d com.apple.quarantine $(which lore)

Linux : lore: command not found

Assurez-vous que $GOPATH/bin (généralement ~/go/bin) est dans votre PATH :

export PATH="$PATH:$(go env GOPATH)/bin"

Ajoutez cette ligne à votre ~/.bashrc ou ~/.zshrc pour la rendre permanente.

Windows

lore fonctionne nativement sous Windows — pas besoin de WSL.

Chocolatey (recommandé) :

choco install lore-cli

Le package Chocolatey s'appelle lore-cli car le nom lore était déjà pris sur community.chocolatey.org. Le binaire installé reste lore.

Go install :

go install github.com/greycoderk/lore@latest

Binaire pré-compilé : Téléchargez le .zip depuis GitHub Releases, extrayez lore.exe, et ajoutez le dossier à votre PATH.

Astuce PowerShell : En cas d'erreur "execution policy" :

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

WSL fonctionne aussi si vous préférez un environnement Unix sous Windows.

Plateformes supportées

Plateforme Architectures Formats de packages Testé en CI
macOS amd64 (Intel), arm64 (Apple Silicon) Homebrew, tar.gz, Go, curl Oui (macos-latest)
Linux amd64, arm64 Homebrew, deb, rpm, apk, tar.gz, Go, curl Oui (ubuntu-latest)
Windows amd64 Chocolatey, zip, Go Oui (windows-latest)

Canaux de distribution

Canal Commande Plateformes
Homebrew brew install GreyCoderK/tap/lore macOS, Linux
Chocolatey choco install lore-cli Windows
Go go install github.com/greycoderk/lore@latest Toutes (Go 1.21+)
curl curl -sSfL .../install.sh \| sh macOS, Linux
deb sudo dpkg -i lore_*.deb Debian, Ubuntu
rpm sudo rpm -i lore_*.rpm Fedora, RHEL, CentOS
apk apk add --allow-untrusted lore_*.apk Alpine Linux
Binaire Télécharger depuis GitHub Releases Toutes

Étapes suivantes

  • Quickstart — Capturez votre premier "pourquoi" en 5 minutes
  • Shell Completions — Activez la complétion par tabulation pour votre shell