Skip to content

Installation ​

The diver CLI lets you keep dashboards as *.diver.yml files next to your code, preview them, and publish them to your workspace. It's a single program with nothing else to install.

Every version is published on the Releases page, with a download for each system:

SystemDownload
macOS with Apple Silicon (M1 and later)diver-<version>-aarch64-apple-darwin.tar.gz
macOS with an Intel processordiver-<version>-x86_64-apple-darwin.tar.gz
Windows (64-bit)diver-<version>-x86_64-pc-windows.zip

macOS ​

With Homebrew ​

If you use Homebrew, install the CLI with:

bash
brew install withdiver/tap/diver

Homebrew picks the right download for your Mac. To update to a new version later, run:

bash
brew upgrade diver

Without Homebrew ​

Run this in Terminal. It downloads the latest version for your Mac and installs it in /usr/local/bin:

bash
VERSION=$(curl -fsSLI -o /dev/null -w '%{url_effective}' https://github.com/withdiver/diver-cli/releases/latest | sed 's#.*/v##')
ARCH=$(uname -m | sed 's/arm64/aarch64/')
curl -fsSL "https://github.com/withdiver/diver-cli/releases/download/v$VERSION/diver-$VERSION-$ARCH-apple-darwin.tar.gz" | tar -xz
sudo mkdir -p /usr/local/bin
sudo mv diver /usr/local/bin/

sudo asks for your Mac password, because /usr/local/bin belongs to the system.

Downloaded it in a browser?

macOS blocks programs downloaded in a browser that aren't from an identified developer. After unpacking, run xattr -d com.apple.quarantine diver once to allow it, then move it to /usr/local/bin. Downloads with curl, like the command above, aren't affected.

Windows ​

  1. Download diver-<version>-x86_64-pc-windows.zip from the Releases page.
  2. Unpack it and move diver.exe to a folder of its own, for example C:\Program Files\Diver.
  3. Add that folder to your PATH: search for Edit the system environment variables, select Environment Variables, then edit Path and add the folder.
  4. Open a new terminal so it picks up the change.

The first time you run diver.exe, Windows may warn that it's from an unknown publisher. Select More info, then Run anyway.

Linux ​

There's no Linux build yet.

Verify a download ​

Each release includes a SHA256SUMS file. To check that a download is intact, compare its checksum with the matching line in that file:

bash
shasum -a 256 diver-<version>-aarch64-apple-darwin.tar.gz

On Windows, use Get-FileHash diver-<version>-x86_64-pc-windows.zip in PowerShell.

Check the installation ​

Once diver is on your PATH, check that it runs:

bash
diver --version

To see every command, run:

bash
diver --help
CommandWhat it does
diver loginConnects the CLI to your workspace. See Authorization.
diver validateChecks your dashboard files without saving anything. See Validate.
diver previewUploads your dashboards privately so you can check them. See Preview.
diver stop-previewDeletes your previews. See Delete a preview.
diver publishPublishes your dashboards to the workspace. See Publish.
diver sourcesLists the data sources you can use in *.diver.yml files, and their tables and columns. See Sources.
diver setupSwitches the workspace the CLI works in. See Switch workspace.
diver skill installInstalls the skill that teaches Claude Code to build dashboards. See Building dashboards with Claude Code.

Configuration ​

The CLI keeps its settings in ~/.diver/config and creates the file the first time it needs it. You don't need to edit it by hand: diver login and diver setup fill it in.

Next steps ​

  1. Log in to connect the CLI to your workspace.
  2. Learn the dashboard language used in *.diver.yml files.
  3. Follow the guide to publish your first dashboard.

Reach new depths