0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

DatabricksのCLIをインストールしてプロファイルを構成してみた(Mac OS)

Last updated at Posted at 2025-06-07

前提

・OS:Mac OS

参考ドキュメント

手順

1.Homebrewをインストール

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

image.png
(途中でPCのパスワードを求められるが、それを入力しEnter)

2.Next stepsで書いた内容を確認し、コピーして実行

image.png
image.png

3.Homebrewのバージョンを確認

brew -v
image.png

4.Homebrewを使って、GitHubのdatabricks/homebrew-tapリポジトリを、利用可能なHomebrew Tapリポジトリの一覧に追加

brew tap databricks/tap
image.png

5.Homebrewを使って、Databricks CLI実行可能ファイルをダウンロードしてインストールするようdatabricks/homebrew-tapリポジトリに指示

brew install databricks
image.png

6.Databricks CLI が正しくインストールされているかどうかを確認

databricks -v
image.png

7.プロファイルを作成

databricks configure --profile prod_ws
・Databricks host:ワークスペースのURL(.comまで)
・アクセストークン:Databricksのワークスペースで作成したアクセストークン

8.テスト

databricks clusters spark-versions -p prod_ws

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?