---
url: 'https://dxpr.com/ko/hc/documentation/learn-drupal/getting-started/updating-drupal-modules-and-themes-composer'
title: 'Composer로 Drupal 모듈과 테마 업데이트 | DXPR'
author:
  name: Jurriaan
  url: 'https://dxpr.com/users/jurriaan'
date: '2026-10-24T08:41:23+00:00'
copyright: 'Copyright DXPR. All rights reserved.'
type: article
summary: |-
  Drupal 10 사이트를 설치하고 업데이트하는 권장 방법은 Composer를 사용하는 것입니다.코어, 오래된 모듈과 테마를 전부 업데이트하고, 데이터베이스를 업데이트한 뒤 캐시를 지우려면:composer update "drupal/" --with-all-dependencies
  drush updatedb
  drush cache:rebuild업데이트를 나열하려면 Composer의 내장 명령을 사용하세요:
tags:
  - 'Aan de slag'
image: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
published: true
og:
  site_name: DXPR
  updated_time: '2026-10-24T08:41:23+0000'
  'image:alt': 'DXPR, powered by Drupal: AI-powered Drupal for marketers.'
schema:
  '@context': 'https://schema.org'
  '@graph':
    -
      mainEntity: {  }
    -
      '@type': TechArticle
      headline: 'Composer로 Drupal 모듈과 테마 업데이트'
      description: |-
        Drupal 10 사이트를 설치하고 업데이트하는 권장 방법은 Composer를 사용하는 것입니다.코어, 오래된 모듈과 테마를 전부 업데이트하고, 데이터베이스를 업데이트한 뒤 캐시를 지우려면:composer update "drupal/" --with-all-dependencies
        drush updatedb
        drush cache:rebuild업데이트를 나열하려면 Composer의 내장 명령을 사용하세요:
      image:
        '@type': ImageObject
        url: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
        width: '1200'
        height: '630'
      datePublished: '2026-10-24T08:41:23+0000'
      dateModified: '2026-10-24T08:41:23+0000'
      author:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      mainEntityOfPage: 'https://dxpr.com/ko/hc/documentation/learn-drupal/getting-started/updating-drupal-modules-and-themes-composer'
      articleSection: 'Aan de slag'
    -
      '@type': WebPage
      '@id': 'https://dxpr.com/ko/hc/documentation/learn-drupal/getting-started/updating-drupal-modules-and-themes-composer'
      description: |-
        Drupal 10 사이트를 설치하고 업데이트하는 권장 방법은 Composer를 사용하는 것입니다.코어, 오래된 모듈과 테마를 전부 업데이트하고, 데이터베이스를 업데이트한 뒤 캐시를 지우려면:composer update "drupal/" --with-all-dependencies
        drush updatedb
        drush cache:rebuild업데이트를 나열하려면 Composer의 내장 명령을 사용하세요:
      breadcrumb:
        '@type': BreadcrumbList
        itemListElement:
          -
            '@type': ListItem
            position: 1
            name: 홈
            item: 'https://dxpr.com/ko'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
      inLanguage: ko
---
[Help Center](/ko/node/75)/[Documentation](/ko/hc/documentation) /[Learn Drupal](/hc/documentation/learn-drupal) /[Aan de slag](/hc/documentation/learn-drupal/aan-de-slag) # Composer로 Drupal 모듈과 테마 업데이트.

 Learn DrupalAan de slag

   ## In this guide

Drupal 10 사이트를 설치하고 업데이트하는 권장 방법은 Composer를 사용하는 것입니다.

1. 코어, 오래된 모듈과 테마를 전부 업데이트하고, 데이터베이스를 업데이트한 뒤 캐시를 지우려면:

    ```plaintext
    composer update "drupal/" --with-all-dependencies
    drush updatedb
    drush cache:rebuild
    ```
2. 업데이트를 나열하려면 Composer의 내장 명령을 사용하세요:

    ```plaintext
    composer outdated "drupal/*"
    ```
3. 보안 업데이트를 나열하려면 Drush를 사용하세요:

    ```plaintext
    drush pm:security
    ```
4. 특정 모듈이나 테마를 업데이트하려면 다음 Composer 명령을 사용하세요:

    ```plaintext
    composer update drupal/modulename --with-all-dependencies
    ```
5. 메이저 버전 업그레이드(예: 1.x에서 2.x)에는 다음 Composer 명령을 사용하고 새 메이저 버전 번호를 필요에 맞게 바꾸세요:

    ```plaintext
    composer require drupal/modulename:^2.0
    ```
6. 업데이트한 뒤 데이터베이스 업데이트를 실행하고, 캐시를 다시 만들고, 변경되었을 수 있는 구성을 내보내며, 다음 명령으로 변경 사항을 검토하세요: `--diff`:

    ```plaintext
    drush updatedb
    drush cache:rebuild
    drush config:export --diff
    ```