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

# 의존성

> URL 가져오기 및 로컬 렌더링을 위한 로컬 헬퍼 바이너리를 검사, 설치, 갱신합니다

일부 CLI 플로우에는 로컬 헬퍼 바이너리가 필요합니다. `youka deps ensure`는 이를 `~/.youka/binaries`에 다운로드하고, 검증한 뒤, 이후 실행에서는 캐시된 사본을 재사용합니다.

일반적으로 의존성이 필요한 경우는 두 가지입니다:

* URL 가져오기: 원격 URL에서 프로젝트를 생성하려면 `ffmpeg`, `ffprobe`, `yt-dlp`가 필요할 수 있습니다
* 로컬 렌더링: `youka export create --local`에는 `ffmpeg`, `ffprobe`, Remotion, Chromium이 필요합니다

## `deps status`

```bash theme={null}
youka deps status [--for <scope>]
```

`deps status`는 읽기 전용입니다. 필요한 바이너리가 설치되어 준비되었는지 출력하고, 설정이 필요할 때는 해당하는 `deps ensure` 명령을 제안합니다.

### 예시

<CodeGroup>
  ```bash all theme={null}
  youka deps status --json
  ```

  ```bash render theme={null}
  youka deps status --for render --json
  ```
</CodeGroup>

## `deps ensure`

```bash theme={null}
youka deps ensure [--for <scope>] [--update]
```

### 옵션

| 옵션              | 설명                                                          |
| --------------- | ----------------------------------------------------------- |
| `--for <scope>` | 설치하거나 검사할 의존성 세트: `url`, `render`, 또는 `all`. 기본값은 `all`입니다. |
| `--update`      | 지원되는 바이너리를 강제로 새로고침합니다.                                     |

### 스코프

| 스코프      | 설치 항목                                         |
| -------- | --------------------------------------------- |
| `url`    | `ffmpeg`, `ffprobe`, `yt-dlp`, 그리고 선택적 `deno` |
| `render` | `ffmpeg`, `ffprobe`, Remotion, 그리고 Chromium   |
| `all`    | 두 세트 모두                                       |

### 예시

<CodeGroup>
  ```bash all theme={null}
  youka deps ensure --json
  ```

  ```bash url theme={null}
  youka deps ensure --for url --json
  ```

  ```bash render theme={null}
  youka deps ensure --for render --json
  ```

  ```bash refresh theme={null}
  youka deps ensure --for all --update --json
  ```
</CodeGroup>

`--json` 없이 실행하면, `deps ensure`는 진행률 표시줄과 함께 어떤 바이너리가 검증되었는지, 다운로드되었는지, 또는 건너뛰었는지에 대한 요약을 출력합니다.

## 다음 단계

* [Projects](/ko/cli/projects) - 파일 또는 URL에서 프로젝트 생성
* [Exports](/ko/cli/exports) - `export create --local` 실행
