Skip to content
Lucas Lessa
Voltar para as notícias
DatabricksBetaImpacto: Médio

Use Genie Code CLI to build pipelines and models directly from your terminal

Genie Code CLI is a terminal coding agent that helps you discover data, query Unity Catalog, and deploy assets on Databricks.

O que mudou

Use cases

Imagine you are developing scripts locally and need to create tables, query Unity Catalog, and deploy a model without leaving the command line. With Genie Code CLI, you can:

  • Read and edit local files in your project.
  • Discover and query Unity Catalog data using integrated commands.
  • Build and deploy pipelines, models, and Databricks Apps.

How to use

Install the tool on Linux or macOS using your terminal:

curl -fsSL https://github.com/databricks/genie-code-cli/releases/latest/download/install.sh | bash

What happens in this code:

  1. Downloads the latest official installation script.
  2. Runs the installation of Genie Code CLI in your Unix environment.

To start the tool in your project directory:

cd my-project
genie

What happens in this code:

  1. Navigates to your local project folder.
  2. Starts the coding agent in the terminal.
  3. Prompts you to select a Databricks CLI profile and confirm trust in the directory.

Limitations and requirements

  • This feature is in Beta.
  • Requires a Databricks workspace in a Unity Gateway supported region with Unity Catalog enabled.
  • Requires Databricks CLI version 1.0.0 or above installed separately.
  • Model selection is managed by Databricks, and usage is billed through Unity Gateway.
Ver nota oficial do Databricks

Genie Code CLI is in Beta

Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.

Relacionadas