docscli-install
Last edit August 11, 2024

Installation Guide for DiPhyx CLI

Installation Guide for DiPhyx CLI

This guide provides detailed instructions on prerequisites and installation steps for the diphyx CLI tool across different operating systems.

A complete list of available Binaries is provided at the end of this document.

Linux

Prerequisites

The first step is to install Docker and Docker Compose. These installations require superuser privileges. Start by switching to superuser mode:

bash
sudo -E su

Next, use the following command to install Docker, Docker Compose, and necessary libraries:

bash
curl -fsSL https://get.docker.com | sh -s

To verify the Docker installation, use:

bash
docker --version

You should see an output similar to:

bash
Docker version 26.0.1, build d260a54

Install

To install DiPhyx CLI on Linux, ensure you are in superuser mode and run the following script:

bash
# Download and run the installer
source <(wget -q -O - https://diphyx-public-b36f3ed2-377c-4191-9b9c-05ea9aee9d91.s3.amazonaws.com/cli/linux.sh)

Restart your terminal and check the version of the installed DiPhyx CLI:

bash
diphyx --version

The output should be:

bash
diphyx version 0.1.0

Linux Binary

png
linux-arm6424.8 kB
Download

Mac

Prerequisites:

First, install Docker Desktop by following the instructions provided on the Docker website.

Install

To install DiPhyx CLI on Mac OS, open the terminal and execute the following script:

bash
# Download and run the installer
source <(curl -q -O - https://diphyx-public-b36f3ed2-377c-4191-9b9c-05ea9aee9d91.s3.amazonaws.com/cli/darwin.sh)

This script downloads the CLI and adds it to the PATH. Close and reopen the terminal, then verify the installation:

bash
diphyx --version

The output should show:

bash
diphyx version 0.1.0

Windlows

Prerequisites:

First, install Docker Desktop by following the instructions provided on the Docker website.

Install

download the installation script diphyx_install.bat

Open the Command Prompt (type cmd.exe in the search section), navigate to the directory where diphyx_install.bat is downloaded:

bash
cd Downloads

now type:

bash
diphyx_install.bat

This script installs DiPhyx and adds the installation directory (%USER_HOME%\.diphyx\bin) to the PATH. Close and reopen the Command Prompt, then verify the installation:

bash
diphyx.exe --version

where it should give the version number of the installed diphyx command:

bash
diphyx version 0.1.0

Binaries

To download the DiPhyx command line interface (CLI) configured for your operating system and architecture, use the following links:

Make sure to choose the appropriate link for your system in order for DiPhyx CLI to run correctly and error-free on your system.