## Installation recommandée ```sh curl -fsSL https://cli.kennhosting.com/install.sh | sh ``` Le script : 1. Détecte votre OS et architecture 2. Télécharge l'archive depuis `https://cli.kennhosting.com/releases/latest/` 3. Vérifie le checksum SHA256 4. Installe le binaire `kennhosting` dans `/usr/local/bin` (sudo si besoin) ## Plateformes supportées | OS | Architectures | |---|---| | macOS | amd64, arm64 (Apple Silicon) | | Linux | amd64, arm64 | Windows : archive disponible sur la page des releases (`kennhosting-windows-amd64.zip`), hors script `install.sh`. ## Répertoire d'installation personnalisé ```sh KENNHOSTING_INSTALL_DIR="$HOME/bin" curl -fsSL https://cli.kennhosting.com/install.sh | sh ``` Assurez-vous que ce dossier est dans votre `PATH`. ## Vérifier l'installation ```sh kennhosting --version ``` Vous devriez voir une version du type `kennhosting version 1.0.0`. ## Téléchargement manuel Archives et `SHA256SUMS` : - [https://cli.kennhosting.com/releases/latest/](https://cli.kennhosting.com/releases/latest/) Exemple (Linux amd64) : ```sh curl -fsSL -O https://cli.kennhosting.com/releases/latest/kennhosting-linux-amd64.tar.gz curl -fsSL -O https://cli.kennhosting.com/releases/latest/SHA256SUMS sha256sum -c --ignore-missing SHA256SUMS tar -xzf kennhosting-linux-amd64.tar.gz sudo mv kennhosting-linux-amd64 /usr/local/bin/kennhosting ``` ## Suite [Authentification →](/cli/authentification)