Get started with
Collibra CLI
Download Now
The Collibra Command Line Interface is a set of tools aimed at Collibra 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.
Install Collibra CLI
Prerequisites
- Java 8
- Collibra version 5.7
The officially supported Collibra version is 5.7. Older versions might lead to unexpected behavior.
Windows installation
- Ensure you haveset the
java_home
variable. - Download the Collibra CLI ZIP file.
- 在你选择的一个文件夹中提取内容,for example
C:\Users\
.\My Applications\CLI Add the path to the Collibra CLIbinfolder to the system environmentPathvariable.
C:\Users\
\My Applications\CLI\collibra-cli-boot- \bin
macOS installation
- Download the Collibra CLI ZIP file.
- 在你选择的一个文件夹中提取内容,for example in theApplicationsfolder.
- Open theTerminalapplication.
- Run the following command:
sudo nano /etc/paths
. - Add the path to the Collibra CLIbinfolder.
/Users/
/Applications/collibra-cli-boot- /bin
Linux installation
- Download the Collibra CLI ZIP file.
- 在你选择的一个文件夹中提取内容,for example in theApplicationsfolder.
Open a terminal:
ForBashshell:
- Edit
~/.bashrc
usingvifor example. Add
PATH=
/collibra-cli-boot- /bin:$PATH export PATH Where
is the path the to the folder you extracted the content in.- Save the file.
- Restart your terminal application.
- Edit
ForCshell:
- Edit ~/.bashrc using vi for example.
Add
PATH=
/collibra-cli-boot- /bin:$PATH export PATH Where
is the path the to the folder you extracted the content in. - Save the file.
- Restart your terminal application.
If you get any errors, see the troubleshooting guide.
Update Collibra CLI
To update Collibra Command Line Interface to a new version, replace thecollibra-cli
folder with the updated one.
Start the application
Open your terminal application, for exampleCommand Prompton Windows orTerminalon macOs.
Typecollibra-cli
and press theenterkey.
Basic commands
See all available commands
The most basic command ishelp
. It displays all the available commands.
Connect to a Collibra environment
You can cycle through the available commands by pressing thetab
key.
- Press the
tab
key repeatedly until you havecollibra-set
selected such as in the following image: - Press
enter
to confirm your selection. - Press
tab
to see the available parameters:-url
and--url
.A one dash prefix indicates a shortened version of the parameter while a double dash prefix indicates the long version.
- Enter the base URL of your Collibra environment and confirm by pressing the
enter
key. - 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.