> ## 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.

# 実行中のサンドボックスをシャットダウンする

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/ja/guides/sandbox-cli">tutorial</Link> to install the CLI and complete <Link href="/docs/ja/guides/sandbox-cli-auth">authentication</Link>.</Note>;
  }
};

CLI コマンドを使用して、実行中のサンドボックスをシャットダウンできます。

<SandboxCliConfigHint />

## ID でサンドボックスをシャットダウンする

指定したサンドボックスをシャットダウンするには、次のコマンドを実行します。

```bash Bash icon="terminal" theme={"system"}
novita-sandbox-cli sandbox kill <sandbox-id1> [<sandbox-id2>...]
```

## すべてのサンドボックスをシャットダウンする

実行中のすべてのサンドボックスをシャットダウンするには、次のコマンドを実行します。

```bash Bash icon="terminal" theme={"system"}
novita-sandbox-cli sandbox kill --all
```
