> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-ko/sdk7/libraries/manage-dependencies.md).

# 종속성 관리

씬에 라이브러리를 추가하는 방법

많은 경우, 여러분의 씬에는 이미 재사용 가능한 라이브러리에 캡슐화된 기능이 필요할 수 있습니다. 외부 라이브러리를 사용하면 작업이 훨씬 쉬워질 수 있습니다.

Decentraland 프로젝트에 외부 라이브러리를 가져온 다음, 이러한 라이브러리에 설명된 시스템, 컴포넌트 또는 함수를 참조할 수 있습니다.

확인하세요. [예제 페이지](https://studios.decentraland.org/resources?sdk_version=SDK7\&resource_type=Library) 에서 Decentraland Foundation과 커뮤니티 구성원들이 만든, 일반적인 문제를 해결하는 여러 라이브러리를 찾아볼 수 있습니다.

## CLI를 통해

### 설치

프로젝트 폴더에 라이브러리를 설치하려면 `npm i` 를 실행하고, 프로젝트의 루트 경로에 라이브러리 이름을 입력하세요. 예를 들면 다음과 같습니다:

`npm i @dcl-sdk/utils`

> **📔 참고**: 라이브러리의 의존성을 설치하려면 라이브러리를 설치한 후 `npm run start` 또는 `npm run build` 를 실행해야 할 수 있습니다.

### 업데이트

만약 여러분의 `package.json` 파일이 라이브러리 버전을 `@latest`로 나열하고 있다면, `npm i` 를 실행하여 모든 라이브러리를 해당 최신 버전으로 업데이트하세요.

만약 여러분의 `package.json` 특정 버전 번호를 참조한다면, 라이브러리 설치 명령을 실행할 때 뒤에 `@` 와 버전 번호를 추가하여 업데이트할 수 있습니다. 예를 들면 다음과 같습니다:

`npm i @dcl-sdk/utils@1.7.5`

### 제거

씬의 의존성에서 라이브러리를 삭제하려면 `npm rm` 와 라이브러리 이름을 실행하세요. 예를 들면 다음과 같습니다:

`npm rm @dcl-sdk/utils`

사용하지 않는 라이브러리는 제거하는 것이 좋습니다. 사용하지 않는 라이브러리도 여전히 씬에서 공간을 차지하며, 플레이어가 여러분의 씬을 다운로드하고 실행하는 경험에 영향을 미칩니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.decentraland.org/creator/content-creator-ko/sdk7/libraries/manage-dependencies.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
