First, you will need to determine the version of ddlctl
you want to install. You can find the latest version on the releases page.
Next, follow these steps:
-
Set some environment variables to make the download process easier:
export VERSION={version from release page} export OS={darwin|linux} export ARCH={arm64|x86_64}
-
Download the
ddlctl
binary for your operating system and architecture with the following script:wget https://mirrors.domino.tech/s3/domino-artifacts/ddlctl/${VERSION}/ddlctl_${VERSION}_${OS}_${ARCH}.tar.gz
For example, if you are installing
ddlctl
for Domino6.0.0
, per the releases page, you would run the following command in order to fetch the command line tool (0.5.4
) for that version (assuming you are on a Linux machine with an ARM64 architecture):wget https://mirrors.domino.tech/s3/domino-artifacts/ddlctl/0.5.4/ddlctl_0.5.4_linux_arm64.tar.gz
-
Extract the binary from the tarball:
tar -xvf ddlctl_${VERSION}_${OS}_${ARCH}.tar.gz
-
Move the binary to a directory in your PATH, such as
/usr/local/bin
:mv ddlctl_${VERSION}_${OS}_${ARCH}/ddlctl /usr/local/bin
Important
|
The Docker Engine API is required for certain ddlctl operations, such as ddlctl create config . Configure the Docker Engine API to ensure ddctl operates correctly.
|