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

# Créer un bac à sable et se connecter au terminal

export const SandboxCliConfigHint = () => {
  if (typeof document === "undefined") {
    return null;
  } else {
    return <Note>Before running the command-line related example code in this document, please refer to the <Link href="/docs/fr/guides/sandbox-cli">tutorial</Link> to install the CLI and complete <Link href="/docs/fr/guides/sandbox-cli-auth">authentication</Link>.</Note>;
  }
};

<SandboxCliConfigHint />

Avec la commande suivante, vous pouvez utiliser l’outil en ligne de commande pour démarrer un bac à sable et vous connecter au terminal.

```bash Bash icon="terminal" theme={"system"}
novita-sandbox-cli sandbox create <template-id>
```

Vous pouvez interagir avec le bac à sable directement depuis le terminal. Exécutez `exit` pour quitter la connexion. Une fois déconnecté, le bac à sable sera automatiquement arrêté.
