Get started with Collibra CLI

The Collibra Command Line Interface is a set of tools aimed at Collibra Platform developers. It helps you get started with and manage your workflow and REST API projects. It also helps you develop more efficiently on a daily basis, by showcasing best practices, allowing you to upload a complete workflow to your development environment.

Download

Install Collibra CLI

Prerequisites

  • Java 8
  • Collibra Data Governance Center 5.7

    Note   The officially supported Collibra Data Governance Center version is 5.7. Older versions might lead to unexpected behavior.

Windows installation

  1. Ensure you have set the java_home variable.
  2. Download the ZIP file.
  3. Extract the content in a folder of your choosing, for example C:\Users\<username>\My Applications\CLI.
  4. Add the path to the Collibra CLI bin folder to the system environment Path variable.
  5. Example: C:\Users\<username>\My Applications\CLI\collibra-cli\bin

macOS

  1. Download the ZIP file.
  2. Extract the content in a folder of your choosing, for example in the Applications folder.
  3. Open the Terminal application.
  4. Run the following command: sudo nano /etc/paths.
  5. Add the path to the Collibra CLI bin folder.

    Example:   /Users/<username>/Applications/collibra-cli-boot-<version>/bin

  6. Exit and save the file.
  7. Restart the terminal.

Linux

  1. Download the ZIP file.
  2. Extract the content in a folder of your choosing, for example in the Applications folder.
  3. Open a terminal:
    1. For Bash shell:
      1. Edit ~/.bashrc using vi for example
      2. Add 
        PATH=<your_folder>/collibra-cli/bin:$PATH
        export PATH

        Where <your_folder> is the path the to the folder you extracted the content in.

      3. Save the file.
      4. Restart your terminal application.
    2. For C shell:
      1. Edit ~/.bashrc using vi for example
      2. Add 
        PATH=<your_folder>/collibra-cli/bin:$PATH
        export PATH

        Where <your_folder> is the path the to the folder you extracted the content in.

      3. Save the file.
      4. Restart your terminal application.

If you get any errors, see the troubleshooting guide.

Start the application

Open your terminal application, for example Command Prompt on Windows or Terminal on macOs.

Type collibra-cli and press the enter key.

Basic commands

See all available commands

The most basic command is help. It displays all the available commands:

Connect to a Collibra environment

Tip   You can cycle through the available commands by pressing the tab key.

  1. Press the tab key repeatedly until you have collibra-set selected such as in the following image:

  2. Press enter to confirm your selection.
  3. Press tab to see the available parameters: -url and --url.

    Note   A one dash prefix indicates a shortened version of the parameter while a double dash prefix indicates the long version.

  4. Enter the base URL of your Collibra environment and confirm by pressing the enter key.
  5. Follow the instructions to sign-in.

You have configured Collibra CLI and are ready to create a new workflow project or analyze the usage of API v1 in existing workflows.

Update Collibra CLI

To update Collibra Command Line Interface to a new version, replace the collibra-cli folder with the updated one.

Collibra makes it easy for data citizens to find, understand and trust the organizational data they need to make business decisions every day. Unlike traditional data governance solutions, Collibra is a cross-organizational platform that breaks down the traditional data silos, freeing the data so all users have access.

©2020 Collibra. All Rights Reserved.

@

Not recently active