> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kennhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI KENN HOSTING

> Déployez vos applications Laravel depuis le terminal avec le CLI officiel KENN HOSTING.

## Qu'est-ce que le CLI ?

Le CLI `kennhosting` vous permet de connecter un dépôt local à votre hébergement KENN HOSTING, puis de déployer en une commande, sans ouvrir le panneau cPanel pour chaque mise en ligne.

## Prérequis

* Un compte [KENN HOSTING](https://kennhosting.com)
* Un service d'hébergement **actif**
* Un token API avec le scope `cli:deploy` (créé dans [Espace développeur](https://kennhosting.com/client/developer))
* macOS ou Linux (amd64 / arm64)

## Démarrage en 3 étapes

**1. Installer**

```sh theme={null}
curl -fsSL https://cli.kennhosting.com/install.sh | sh
```

**2. Se connecter**

```sh theme={null}
kennhosting login
```

**3. Initialiser et déployer**

```sh theme={null}
cd mon-projet-laravel
kennhosting init
kennhosting deploy setup
kennhosting deploy
```

## Suite

> **[Installation](/cli/installation)**
>
> Plateformes supportées et vérification de la version.

> **[Authentification](/cli/authentification)**
>
> Token API, scope cli:deploy, login et whoami.

> **[Init et déploiement](/cli/init-et-deploy)**
>
> Fichier .kennhosting.yml, setup et deploy Laravel.

> **[Créer un token](https://kennhosting.com/client/developer)**
>
> Générer un token dans l'espace développeur.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.