DBT中文社区

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • 达之云

    开源软件DBT中文社区

    微信号:DBT_CN

    QQ群:551308350

    安装DBT

    安装指南
    1
    1
    4981
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dazdata last edited by

      安装概述
      您可以使用以下推荐方法之一在命令行上安装 dbt Core:

      使用 pip 安装 dbt
      使用 Docker 镜像安装 dbt
      从源代码安装 dbt

      使用 pip 安装 dbt
      可以在 Windows 或 Linux 操作系统上安装 dbt Core,也可以使用Homebrew在 MacOS 上安装 dbt Core。
      dbt需要Python3.7及以上版本,Windows下需要安装Git for Windows。
      安装 dbt 核心:pip install dbt-core
      安装 dbt 适配器如Postgres:pip install dbt-postgres

      使用 Docker 镜像安装 dbt
      需要先安装 Docker 环境。包托管位置https://github.com/orgs/dbt-labs/packages?visibility=public
      安装示例:docker pull ghcr.io/dbt-labs/dbt-core:1.4.4

      从源代码安装 dbt
      从 GitHub 代码源安装dbt-core:
      git clone https://github.com/dbt-labs/dbt-core.git
      cd dbt-core
      pip install -r requirements.txt
      从 GitHub 代码源安装适配器:
      git clone https://github.com/dbt-labs/dbt-postgres.git
      cd dbt-postgres
      pip install .

      1 Reply Last reply Reply Quote 0
      • Moved from 使用指南 by  D dazdata 
      • First post
        Last post
      Powered by Dazdata MDS | 武汉达之云计算有限公司