# Installation

La CLI WorkflowGen a été développée avec le framework .NET 5. Vous devez installer le SDK approprié avant d'installer l'outil.

La CLI est compatible avec Windows, Linux et macOS. Vous pouvez télécharger le SDK au lien suivant : <https://dotnet.microsoft.com/download/dotnet/5.0>.

## Prérequis

La CLI WorkflowGen fonctionne avec l'API GraphQL, assurez-vous donc que GraphQL est activé sur votre instance.

## Outil dotnet

La CLI est disponible en tant qu'outil dotnet. Le package est disponible à ce lien : <https://www.nuget.org/packages/WorkflowGen.Cli/1.0.0>.

### Installation

Ouvrez un terminal et exécutez la commande suivante pour installer la CLI WorkflowGen :

```
dotnet tool install --global workflowgen-cli --version 1.0.0
```

### Désinstallation

Ouvrez un terminal et exécutez la commande suivante pour désinstaller la CLI WorkflowGen :

```
dotnet tool uninstall --global workflowgen-cli --version 1.0.0
```

## Démarrer

Pour interagir avec votre application WorkflowGen, vous devez d'abord vous connecter. Utilisez la commande [`login`](/cli-fr/1.0.0/liste-de-commandes.md#login) pour ce faire.

#### 📌 Exemple

```
wfg login http://localhost/wfgen -u wfgen_admin -p AdminPassword
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.workflowgen.com/cli-fr/1.0.0/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
