> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# クイックスタート

### 概要

`comfy-cli` は、Comfy のインストールと管理を容易にする [コマンドラインツール](https://github.com/Comfy-Org/comfy-cli) です。

### CLI のインストール

<CodeGroup>
  ```bash pip theme={null}
  pip install comfy-cli
  ```

  ```bash homebrew theme={null}
  brew tap Comfy-Org/comfy-cli
  brew install comfy-org/comfy-cli/comfy-cli
  ```
</CodeGroup>

シェルの自動補完を有効にするには、以下のコマンドを実行します：

```bash theme={null}
comfy --install-completion
```

### ComfyUI のインストール

Python 3.9 よりも新しい任意のバージョンを使用して仮想環境を作成します。

<CodeGroup>
  ```bash conda theme={null}
  conda create -n comfy-env python=3.11
  conda activate comfy-env
  ```

  ```bash venv theme={null}
  python3 -m venv comfy-env
  source comfy-env/bin/activate
  ```
</CodeGroup>

ComfyUI のインストール

```bash theme={null}
comfy install
```

<Warning>GPU に応じて、CUDA または ROCm のインストールが必要です。</Warning>

### ComfyUI の実行

```bash theme={null}
comfy launch
```

### カスタムノードの管理

```bash theme={null}
comfy node install <NODE_NAME>
```

カスタムノードのインストールには `cm-cli` を使用します。詳細については [ドキュメント](https://github.com/ltdrdata/ComfyUI-Manager/blob/main/docs/en/cm-cli.md) を参照してください。

### モデルの管理

`comfy-cli` を使用したモデルのダウンロードは簡単です。以下を実行するだけです：

```bash theme={null}
comfy model download <url> models/checkpoints
```

### コントリビューション

comfy-cli へのコントリビューションを歓迎します！提案、アイデア、バグ報告がある場合は、[GitHub リポジトリ](https://github.com/Comfy-Org/comfy-cli/issues) で Issue を作成してください。コードに貢献したい場合は、リポジトリをフォークしてプルリクエストを送信してください。

詳細については [開発ガイド](https://github.com/Comfy-Org/comfy-cli/blob/main/DEV_README.md) を参照してください。

### アナリティクス

ユーザーエクスペリエンスを向上させるために、CLI の使用状況を追跡しています。以下を実行することで、これを無効にできます：

```bash theme={null}
comfy tracking disable
```

トラッキングを再度有効にするには、以下を実行してください：

```bash theme={null}
comfy tracking enable
```
